From d083912aee7986dbdb1a492140010896d496010d Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Tue, 24 Oct 2023 16:55:26 +0200 Subject: [PATCH] increase custom menu draw x/y padding from 2/2 to 4/8 (for #3787) --- src/Menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Menu.cpp b/src/Menu.cpp index 0b88c1ae30cc..e5fa5970c0df 100644 --- a/src/Menu.cpp +++ b/src/Menu.cpp @@ -1979,8 +1979,8 @@ void MarkMenuOwnerDraw(HMENU hmenu) { } } -constexpr int kMenuPaddingY = 2; -constexpr int kMenuPaddingX = 2; +constexpr int kMenuPaddingY = 4; +constexpr int kMenuPaddingX = 8; void MenuCustomDrawMesureItem(HWND hwnd, MEASUREITEMSTRUCT* mis) { if (ODT_MENU != mis->CtlType) {