summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r--src/frontend/mame/ui/menu.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp
index 36ebf0c4d52..14a5c4ae0c1 100644
--- a/src/frontend/mame/ui/menu.cpp
+++ b/src/frontend/mame/ui/menu.cpp
@@ -638,8 +638,11 @@ void menu::draw(uint32_t flags)
// give 2 spaces worth of padding
subitem_width = ui().get_string_width("FF00FF00");
- ui().draw_outlined_box(container(), effective_left + effective_width - subitem_width, line_y0,
- effective_left + effective_width, line_y1, color);
+ ui().draw_outlined_box(
+ container(),
+ effective_left + effective_width - subitem_width, line_y0 + (UI_LINE_WIDTH * 2.0f),
+ effective_left + effective_width, line_y1 - (UI_LINE_WIDTH * 2.0f),
+ color);
}
else
{