Skip to content

Commit

Permalink
Fixing Issue #137 for Expression Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Mar 25, 2020
1 parent 4ab0703 commit 07dcd54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/Components/AvalonDock.Themes.Expression/Theme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -938,14 +938,15 @@
</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}" Value="true">
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true">
<Setter Property="Background"
Value="{DynamicResource AvalonDock_Expression_BaseColor10}" />
</DataTrigger>

<Trigger Property="IsMouseOver" SourceName="PART_PinMaximize" Value="True">
<Setter Property="Source" TargetName="PART_ImgPinMaximize" Value="/AvalonDock.Themes.Expression;component/Images/PinMaximize_Light.png"/>
</Trigger>
Expand Down

0 comments on commit 07dcd54

Please sign in to comment.