Skip to content

Commit

Permalink
Merge pull request #317 from kornman00/FixMetroMenuItemBindingErrors
Browse files Browse the repository at this point in the history
Fix VS2013 MenuItem styles
  • Loading branch information
tgjones authored Dec 22, 2020
2 parents 25bf9c1 + 85baf7e commit a55e686
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/Gemini/Themes/VS2013/Controls/Menu.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--
<!--
Originally from the Wide framework:
https://github.com/chandramouleswaran/Wide
Expand Down Expand Up @@ -362,9 +362,15 @@

<!--Set default styles-->
<Style TargetType="Separator" BasedOn="{StaticResource MetroSeparator}" />
<Style TargetType="MenuItem" BasedOn="{StaticResource MetroMenuItem}" />
<Style TargetType="MenuItem" BasedOn="{StaticResource MetroMenuItem}">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
<Style TargetType="Menu" BasedOn="{StaticResource StandardMenu}" />
<Style TargetType="ContextMenu" BasedOn="{StaticResource MetroContextMenu}" />
<Style TargetType="xcad:ContextMenuEx" BasedOn="{StaticResource MetroContextMenu}" />
<Style TargetType="xcad:MenuItemEx" BasedOn="{StaticResource MetroMenuItem}" />
</ResourceDictionary>
<Style TargetType="xcad:MenuItemEx" BasedOn="{StaticResource MetroMenuItem}">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
</ResourceDictionary>

0 comments on commit a55e686

Please sign in to comment.