Skip to content

Commit

Permalink
Fixes #576 by making header foreground consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Jul 5, 2018
1 parent 3b4a613 commit 7ed19d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
- [#564](../../issues/564) - Gallery overflow panel (with menu items) doesn't close when clicking once in the application
- [#572](../../issues/572) - KeyTip.Keys Position
- [#573](../../issues/573) - Empty context menu on controls and ribbon
- [#576](../../issues/576) - Does RibbonGroupBox set Foreground invalid?
- [#581](../../issues/581) - StackOverflow Exception when trying to access ApplicationMenu while RibbonMenu is minimized

- ### Enhancements
Expand Down
3 changes: 2 additions & 1 deletion Fluent.Ribbon/Themes/Controls/RibbonGroupBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

<DataTemplate x:Key="Fluent.Ribbon.Templates.RibbonGroupBox.TwoLineHeaderTemplate">
<Fluent:TwoLineLabel Text="{Binding}"
Foreground="{DynamicResource Fluent.Ribbon.Brushes.RibbonGroupBox.Header.Foreground}"
HorizontalAlignment="Center"
VerticalAlignment="Center"
HasGlyph="True" />
Expand Down Expand Up @@ -296,6 +295,7 @@
ContentStringFormat="{TemplateBinding HeaderStringFormat}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
Foreground="{DynamicResource Fluent.Ribbon.Brushes.RibbonGroupBox.Header.Foreground}"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
Margin="2,0" />
Expand Down Expand Up @@ -337,6 +337,7 @@
ContentStringFormat="{TemplateBinding HeaderStringFormat}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
Foreground="{DynamicResource Fluent.Ribbon.Brushes.RibbonGroupBox.Header.Foreground}"
Style="{DynamicResource Fluent.Ribbon.Styles.RibbonGroupBox.TwoLineHeaderContentControl}"
Fluent:RibbonGroupBox.IsCollapsedHeaderContentPresenter="True"
HorizontalAlignment="Center"
Expand Down

0 comments on commit 7ed19d1

Please sign in to comment.