Skip to content

Commit

Permalink
fix tooltip of max/restore button when maximized
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Jan 14, 2015
1 parent a43032b commit 4a1a8f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MahApps.Metro/Themes/MetroWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@
<Setter TargetName="PART_MaxPath"
Property="Data"
Value="F1M0,10L0,3 3,3 3,0 10,0 10,2 4,2 4,3 7,3 7,6 6,6 6,5 1,5 1,10z M1,10L7,10 7,7 10,7 10,2 9,2 9,6 6,6 6,9 1,9z" />
<Setter TargetName="PART_Max"
Property="ToolTip"
Value="{Binding Restore, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:WindowButtonCommands}}}" />
</DataTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Expand Down

0 comments on commit 4a1a8f9

Please sign in to comment.