Skip to content

Commit

Permalink
Adjust margin of MenuItem and Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
diluculo committed Jun 1, 2018
1 parent e9a5b04 commit 6710a20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 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 @@ -119,7 +119,7 @@
<ControlTemplate x:Key="{ComponentResourceKey ResourceId=TopLevelItemTemplateKey}" TargetType="MenuItem">
<Border Name="Border">
<Grid>
<ContentPresenter Margin="6,3,6,3" ContentSource="Header" RecognizesAccessKey="True" />
<ContentPresenter Margin="8,3,8,3" ContentSource="Header" RecognizesAccessKey="True" />
</Grid>
</Border>
<ControlTemplate.Triggers>
Expand Down Expand Up @@ -383,4 +383,4 @@
<Style TargetType="ContextMenu" BasedOn="{StaticResource MetroContextMenu}" />
<Style TargetType="xcad:ContextMenuEx" BasedOn="{StaticResource MetroContextMenu}" />
<Style TargetType="xcad:MenuItemEx" BasedOn="{StaticResource MetroMenuItem}" />
</ResourceDictionary>
</ResourceDictionary>
6 changes: 3 additions & 3 deletions src/Gemini/Themes/VS2013/Controls/Window.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:shaderEffects="clr-namespace:Gemini.Framework.ShaderEffects"
Expand Down Expand Up @@ -29,7 +29,7 @@
Height="{TemplateBinding Height}"
RenderOptions.BitmapScalingMode="{Binding IconBitmapScalingMode, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:MetroWindow}}}"
RenderOptions.EdgeMode="{Binding IconEdgeMode, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:MetroWindow}}}"
Source="{TemplateBinding Content}" >
Source="{TemplateBinding Content}" Margin="6,0,0,0">
<controls:MultiFrameImage.Effect>
<shaderEffects:ThemedImageEffect Background="{Binding Converter={StaticResource SolidColorBrushToColorConverter}, Mode=OneWay,
Source={StaticResource DefaultBackground}, Path=Data}"/>
Expand All @@ -50,4 +50,4 @@
Segoe UI, Segoe UI Light, Lucida Sans Unicode, Verdana
</FontFamily>

</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 6710a20

Please sign in to comment.