Skip to content

Commit

Permalink
Removed tabstops on the min/max/close buttons in a MetroWindow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Ohlsson committed Jan 11, 2013
1 parent d7d99d0 commit 36b8b37
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 @@ -168,6 +168,7 @@
</ItemsControl.ItemsPanel>
</ItemsControl>
<Button x:Name="PART_Min"
IsTabStop="False"
Width="34"
Height="{Binding TitlebarHeight, RelativeSource={RelativeSource AncestorType=Controls:MetroWindow}}"
MaxHeight="34"
Expand All @@ -179,6 +180,7 @@
</Button>

<Button x:Name="PART_Max"
IsTabStop="False"
Width="34"
Height="{Binding TitlebarHeight, RelativeSource={RelativeSource AncestorType=Controls:MetroWindow}}"
MaxHeight="34"
Expand All @@ -194,6 +196,7 @@
</Button>

<Button x:Name="PART_Close"
IsTabStop="False"
Width="34"
Height="{Binding TitlebarHeight, RelativeSource={RelativeSource AncestorType=Controls:MetroWindow}}"
MaxHeight="34"
Expand Down

0 comments on commit 36b8b37

Please sign in to comment.