Browse Source

自定义控件-textBoxEx(由于设置center导致下方内容位置设置失效,例如:VerticalContentAlignment)

liyijie 1 year ago
parent
commit
e18e43717b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      PDF Office/Themes/Generic.xaml

+ 2 - 1
PDF Office/Themes/Generic.xaml

@@ -74,7 +74,8 @@
                                 Foreground="{TemplateBinding PlaceholderForeground}"
                                 Text="{TemplateBinding PlaceholderText}"
                                 Visibility="Collapsed" />
-                            <Grid VerticalAlignment="Center">
+                            <!-- <Grid VerticalAlignment="Center">-->
+                            <Grid >
                                 <Grid.ColumnDefinitions>
                                     <ColumnDefinition Width="*" />
                                     <ColumnDefinition Width="auto" />