diff options
author | Eugene Sandulenko | 2016-01-13 22:11:31 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-13 22:11:31 +0100 |
commit | b34308a03c6771f46fb6a0b119024e65949a65d4 (patch) | |
tree | 0266786b5ac1badbfadb52c9714ba924fc21ed2a /engines | |
parent | b0387a4a767f48865fc8139837a44ce247e8ea66 (diff) | |
download | scummvm-rg350-b34308a03c6771f46fb6a0b119024e65949a65d4.tar.gz scummvm-rg350-b34308a03c6771f46fb6a0b119024e65949a65d4.tar.bz2 scummvm-rg350-b34308a03c6771f46fb6a0b119024e65949a65d4.zip |
WAGE: Fix vertical submenu size
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/gui.h | 2 | ||||
-rw-r--r-- | engines/wage/menu.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 0b35ac4fb0..4017702eed 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -69,7 +69,7 @@ enum { kMenuSpacing = 13, kMenuPadding = 16, kMenuDropdownPadding = 12, - kMenuDropdownItemHeight = 19, + kMenuDropdownItemHeight = 15, kMenuItemHeight = 20, kBorderWidth = 17, kDesktopArc = 7, diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp index bd384c89eb..e9557a5c80 100644 --- a/engines/wage/menu.cpp +++ b/engines/wage/menu.cpp @@ -231,7 +231,7 @@ void Menu::calcMenuBounds(MenuItem *menu) { int x1 = menu->bbox.left; int y1 = menu->bbox.bottom + 1; int x2 = x1 + maxWidth + kMenuDropdownPadding * 2; - int y2 = y1 + menu->subitems.size() * kMenuDropdownItemHeight - 3; + int y2 = y1 + menu->subitems.size() * kMenuDropdownItemHeight + 2; menu->subbbox.left = x1; menu->subbbox.top = y1; |