mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(Menu) Default width of label to 21 by default instead of going
through complicated type heuristics
This commit is contained in:
parent
497e497c3f
commit
a0d32b50ae
@ -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 &&
|
||||
|
@ -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 &&
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user