Skip to content

Commit

Permalink
increase custom menu draw x/y padding from 2/2 to 4/8 (for #3787)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Oct 24, 2023
1 parent 824407d commit d083912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d083912

Please sign in to comment.