Browse Source

Merge pull request #5353 from MikeCodesDotNET/Issue5349

Fixing FluentTheme Expanded header foreground issue
pull/5369/head
Dan Walmsley 5 years ago
committed by GitHub
parent
commit
f9ab648962
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/Avalonia.Themes.Fluent/Controls/Expander.xaml

3
src/Avalonia.Themes.Fluent/Controls/Expander.xaml

@ -26,6 +26,9 @@
</ControlTemplate>
</Setter>
</Style>
<Style Selector="Expander[IsExpanded=true] /template/ ToggleButton#PART_toggle /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ToggleButtonForeground}"/>
</Style>
<Style Selector="Expander[ExpandDirection=Up]">
<Setter Property="Template">
<ControlTemplate>

Loading…
Cancel
Save