Skip to content

Commit

Permalink
fix: Use BodyLarge typography for TextBox Placholder
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 committed Apr 10, 2024
1 parent caac9ed commit 1b50a3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library/Uno.Material/Styles/Controls/v2/TextBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@
Height="26"
VerticalAlignment="Top">
<TextBlock x:Name="PlaceholderElement"
Style="{StaticResource BodyLarge}"
Foreground="{Binding PlaceholderForeground, RelativeSource={RelativeSource TemplatedParent}}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
IsHitTestVisible="False"
Expand Down Expand Up @@ -652,6 +653,7 @@
Height="26"
VerticalAlignment="Top">
<TextBlock x:Name="PlaceholderElement"
Style="{StaticResource BodyLarge}"
Foreground="{Binding PlaceholderForeground, RelativeSource={RelativeSource TemplatedParent}}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
IsHitTestVisible="False"
Expand Down

0 comments on commit 1b50a3a

Please sign in to comment.