Skip to content

Commit

Permalink
Fixing an old styling issue on the Document Context Menu which appear…
Browse files Browse the repository at this point in the history
…s with white backgounrd when styling for dark

- Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
BugFix for Issue http://avalondock.codeplex.com/workitem/15743
  • Loading branch information
Dirkster99 committed Mar 6, 2018
1 parent 220bb9a commit 105e9d9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1387,8 +1387,12 @@
</ControlTemplate>
</Setter.Value>
</Setter>

</Style>

<!--
Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
BugFix for Issue http://avalondock.codeplex.com/workitem/15743
-->
<Style TargetType="{x:Type avalonDockControls:ContextMenuEx}" BasedOn="{StaticResource {x:Type ContextMenu}}" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -1521,5 +1521,10 @@

</Style>

<!--
Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
BugFix for Issue http://avalondock.codeplex.com/workitem/15743
-->
<Style TargetType="{x:Type avalonDockControls:ContextMenuEx}" BasedOn="{StaticResource {x:Type ContextMenu}}" />

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -2236,5 +2236,10 @@

</Style>

<!--
Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
BugFix for Issue http://avalondock.codeplex.com/workitem/15743
-->
<Style TargetType="{x:Type avalonDockControls:ContextMenuEx}" BasedOn="{StaticResource {x:Type ContextMenu}}" />

</ResourceDictionary>
7 changes: 6 additions & 1 deletion source/Components/Xceed.Wpf.AvalonDock/Themes/generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,12 @@
</ControlTemplate>
</Setter.Value>
</Setter>

</Style>

<!--
Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
BugFix for Issue http://avalondock.codeplex.com/workitem/15743
-->
<Style TargetType="{x:Type avalonDockControls:ContextMenuEx}" BasedOn="{StaticResource {x:Type ContextMenu}}" />

</ResourceDictionary>

0 comments on commit 105e9d9

Please sign in to comment.