style<ContextMenu>: use DropShadowEffect instead a solid border for ContextMenu

This commit is contained in:
leo 2021-02-25 19:00:43 +08:00
parent 8c1445ff0c
commit f98ba79c09
2 changed files with 24 additions and 9 deletions

View file

@ -852,7 +852,7 @@ namespace SourceGit.UI {
anchor.ContextMenu = new ContextMenu();
anchor.ContextMenu.PlacementTarget = anchor;
anchor.ContextMenu.Placement = PlacementMode.Top;
anchor.ContextMenu.VerticalOffset = -4;
anchor.ContextMenu.VerticalOffset = 8;
anchor.ContextMenu.StaysOpen = false;
anchor.ContextMenu.Focusable = true;
anchor.ContextMenu.MaxWidth = 500;