Skip to content

Commit d721913

Browse files
authored
Allowing font size to properly inherit (#1695)
Fixes #1638
1 parent d8e8676 commit d721913

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PasswordBox.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" />
2020
<Setter Property="PasswordChar" Value=""/>
2121
<Setter Property="BorderThickness" Value="0 0 0 1"/>
22-
<Setter Property="FontSize" Value="16"/>
2322
<Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="1 0 0 0" />
2423
<Setter Property="Background" Value="Transparent"/>
2524
<Setter Property="CaretBrush" Value="{DynamicResource PrimaryHueMidBrush}" />

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBox.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/>
1919
<Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" />
2020
<Setter Property="BorderThickness" Value="0 0 0 1"/>
21-
<Setter Property="FontSize" Value="16"/>
2221
<Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="1 0 1 0" />
2322
<Setter Property="Background" Value="Transparent"/>
2423
<Setter Property="CaretBrush" Value="{DynamicResource PrimaryHueMidBrush}" />

0 commit comments

Comments
 (0)