diff --git a/frontend/menu/disp/rgui.c b/frontend/menu/disp/rgui.c index 8a12f34df9..f8e745e9e4 100644 --- a/frontend/menu/disp/rgui.c +++ b/frontend/menu/disp/rgui.c @@ -352,16 +352,11 @@ static void rgui_render(void) setting_data_get_list(), driver.menu->selection_buf->list[i].label); - unsigned w = 19; - (void)setting; + unsigned w = 21; + (void)setting; + if (!strcmp(label, "performance_counters")) w = 28; - else if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || - menu_type == MENU_SETTINGS_CUSTOM_BIND || - menu_type == MENU_SETTINGS_CUSTOM_BIND_KEYBOARD) - w = 21; - else if (menu_type == MENU_SETTINGS_PATH_OPTIONS) - w = 24; #ifdef HAVE_SHADER_MANAGER if (type >= MENU_SETTINGS_SHADER_FILTER && diff --git a/frontend/menu/disp/rmenu.c b/frontend/menu/disp/rmenu.c index 074e678e51..10f2f2cc66 100644 --- a/frontend/menu/disp/rmenu.c +++ b/frontend/menu/disp/rmenu.c @@ -225,12 +225,7 @@ static void rmenu_render(void) char message[256]; char type_str[256]; - unsigned w = 19; - if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || - menu_type == MENU_SETTINGS_CUSTOM_BIND) - w = 21; - else if (menu_type == MENU_SETTINGS_PATH_OPTIONS) - w = 24; + unsigned w = 21; #ifdef HAVE_SHADER_MANAGER if (type >= MENU_SETTINGS_SHADER_FILTER && diff --git a/frontend/menu/disp/rmenu_xui.cpp b/frontend/menu/disp/rmenu_xui.cpp index a8ace23035..e95b4614a7 100644 --- a/frontend/menu/disp/rmenu_xui.cpp +++ b/frontend/menu/disp/rmenu_xui.cpp @@ -437,12 +437,7 @@ static void rmenu_xui_render(void) char message[256]; char type_str[256]; - unsigned w = 19; - if (menu_type == MENU_SETTINGS_INPUT_OPTIONS || - menu_type == MENU_SETTINGS_CUSTOM_BIND) - w = 21; - else if (menu_type == MENU_SETTINGS_PATH_OPTIONS) - w = 24; + unsigned w = 21; if (type >= MENU_SETTINGS_SHADER_FILTER && type <= MENU_SETTINGS_SHADER_LAST)