(Multi)menu Buttons: Reduce default size at low resolutions

This fixes the scrollbar in MP Staging, but causes the buttons to be
too small in some cases (eg the resolution button in prefs)
This commit is contained in:
Celtic Minstrel 2017-04-16 11:07:54 -04:00
parent d54c8ad40e
commit e5ff9f9584
2 changed files with 4 additions and 0 deletions

View file

@ -150,6 +150,8 @@
id = "default"
description = "Default button"
{_GUI_RESOLUTION (window_width,window_height=800,600) 40 80 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
{_GUI_RESOLUTION (window_width,window_height=1024,768) 40 120 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
{_GUI_RESOLUTION () 40 180 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
[/menu_button_definition]

View file

@ -150,6 +150,8 @@
id = "default"
description = "Default button"
{_GUI_RESOLUTION (window_width,window_height=800,600) 40 80 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
{_GUI_RESOLUTION (window_width,window_height=1024,768) 40 120 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
{_GUI_RESOLUTION () 40 180 30 13 4 ({GUI_FONT_SIZE_SMALL}) "button_dropdown/button_dropdown" ()}
[/multimenu_button_definition]