Browse Source

Merge pull request #12048 from almightyju/patch-2

fix DropDownButton glyph foreground color
release/11.0.5-rc1
Max Katz 3 years ago
committed by Steven Kirk
parent
commit
7d86df0eef
  1. 6
      src/Avalonia.Themes.Fluent/Controls/DropDownButton.xaml

6
src/Avalonia.Themes.Fluent/Controls/DropDownButton.xaml

@ -71,6 +71,9 @@
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushPointerOver}" />
<Setter Property="TextElement.Foreground" Value="{DynamicResource ButtonForegroundPointerOver}" />
</Style>
<Style Selector="^:pointerover /template/ PathIcon#DropDownGlyph">
<Setter Property="Foreground" Value="{DynamicResource ButtonForegroundPointerOver}" />
</Style>
<!-- Pressed State -->
<Style Selector="^:pressed">
@ -82,6 +85,9 @@
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushPressed}" />
<Setter Property="TextElement.Foreground" Value="{DynamicResource ButtonForegroundPressed}" />
</Style>
<Style Selector="^:pressed /template/ PathIcon#DropDownGlyph">
<Setter Property="Foreground" Value="{DynamicResource ButtonForegroundPressed}" />
</Style>
<!-- Disabled State -->
<Style Selector="^:disabled /template/ Border#RootBorder">

Loading…
Cancel
Save