Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VS2013 MenuItem styles #317

Merged
merged 1 commit into from
Dec 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>