diff options
Diffstat (limited to 'src/frontend/mame/ui/slotopt.cpp')
-rw-r--r-- | src/frontend/mame/ui/slotopt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/slotopt.cpp b/src/frontend/mame/ui/slotopt.cpp index 36fed77ae3c..01493173731 100644 --- a/src/frontend/mame/ui/slotopt.cpp +++ b/src/frontend/mame/ui/slotopt.cpp @@ -203,7 +203,7 @@ void menu_slot_devices::populate(float &customtop, float &custombottom) item_append(_("Reset"), "", 0, ITEMREF_RESET); // leave space for the name of the current option at the bottom - custombottom = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER; + custombottom = ui().get_line_height() + 3.0f * ui().box_tb_border(); } @@ -220,7 +220,7 @@ void menu_slot_devices::custom_render(void *selectedref, float top, float bottom char const *const text[] = { option ? option->devtype().fullname() : _("[empty slot]") }; draw_text_box( std::begin(text), std::end(text), - origx1, origx2, origy2 + UI_BOX_TB_BORDER, origy2 + bottom, + origx1, origx2, origy2 + ui().box_tb_border(), origy2 + bottom, ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false, ui().colors().text_color(), ui().colors().background_color(), 1.0f); } |