Skip to content

Commit

Permalink
Fixing Issue #137 for Metro Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Mar 25, 2020
1 parent 75f704a commit 4ab0703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/Components/AvalonDock.Themes.Metro/Theme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1455,13 +1455,14 @@
</Border>
</Grid>
<ControlTemplate.Triggers>
<!-- Show Header Bar (Window Title and Restore/Maximize/Minimize buttons with highlighting color if this IsActive) -->
<Trigger Property="WindowState"
Value="Maximized">
<Setter Property="Padding"
Value="3"
TargetName="WindowBorder" />
</Trigger>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}"
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}"
Value="True">
<Setter TargetName="bd"
Property="Background"
Expand Down

0 comments on commit 4ab0703

Please sign in to comment.