Skip to content

Commit

Permalink
Merge pull request #359 from jetelain/fix-avalondock-menu
Browse files Browse the repository at this point in the history
Fix document list menu
  • Loading branch information
tgjones authored Jul 30, 2023
2 parents e10fc36 + 154b175 commit 779c5dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Gemini/Themes/VS2013/Controls/Menu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:xcad="https://github.com/Dirkster99/AvalonDock">
xmlns:xcad="https://github.com/Dirkster99/AvalonDock"
xmlns:avalonDockConverters="clr-namespace:AvalonDock.Converters;assembly=AvalonDock">

<Geometry x:Key="Checkmark">
M 0,5.1 L 1.7,5.2 L 3.4,7.1 L 8,0.4 L 9.2,0 L 3.3,10.8 Z
Expand Down Expand Up @@ -377,5 +378,10 @@
<Style TargetType="xcad:MenuItemEx" BasedOn="{StaticResource MetroMenuItem}">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="HeaderTemplate" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplate}" />
<Setter Property="HeaderTemplateSelector" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplateSelector}" />
<Setter Property="IconTemplate" Value="{Binding Path=Root.Manager.IconContentTemplate}" />
<Setter Property="IconTemplateSelector" Value="{Binding Path=Root.Manager.IconContentTemplateSelector}" />
<Setter Property="Command" Value="{Binding Path=., Converter={avalonDockConverters:ActivateCommandLayoutItemFromLayoutModelConverter}}" />
</Style>
</ResourceDictionary>

0 comments on commit 779c5dc

Please sign in to comment.