Skip to content

Commit

Permalink
Fixes #147 by removing setter for Foreground in BackstageTabItemStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Aug 14, 2015
1 parent ff52312 commit 5e6717c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Fluent/Themes/Office2010/Controls/BackstageTabItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,8 @@
</ControlTemplate.Triggers>
</ControlTemplate>


<Style x:Key="BackstageTabItemStyle"
TargetType="{x:Type Fluent:BackstageTabItem}">
<Setter Property="Foreground"
Value="{DynamicResource BackstageFontBrush}" />
<Setter Property="Template"
Value="{DynamicResource BackstageTabItemControlTemplate}" />
<Setter Property="FocusVisualStyle"
Expand Down
3 changes: 0 additions & 3 deletions Fluent/Themes/Windows8/Controls/BackstageTabItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,8 @@
</ControlTemplate.Triggers>
</ControlTemplate>


<Style x:Key="BackstageTabItemStyle"
TargetType="{x:Type Fluent:BackstageTabItem}">
<Setter Property="Foreground"
Value="{DynamicResource BackstageFontBrush}" />
<Setter Property="Template"
Value="{DynamicResource BackstageTabItemControlTemplate}" />
<Setter Property="FocusVisualStyle"
Expand Down
5 changes: 3 additions & 2 deletions FluentTest/TestContent.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@
HorizontalAlignment="Stretch">
<TextBlock HorizontalAlignment="Left"
MinWidth="0"
TextWrapping="Wrap"
Foreground="Black">This is long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long text</TextBlock>
TextWrapping="Wrap">
This is long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long text
</TextBlock>
<Fluent:Button IsDefinitive="True"
IsEnabled="True"
Style="{DynamicResource ButtonBackstageStyle}"
Expand Down

0 comments on commit 5e6717c

Please sign in to comment.