Bigger desktop quick button hitbox

This commit is contained in:
2021-07-01 19:55:03 +10:00
parent f795f4d690
commit b343365ef6

View File

@ -242,7 +242,7 @@ style choice_button_text is default:
screen quick_button(filename, label, function): screen quick_button(filename, label, function):
button: button:
xmaximum 40 xmaximum 80
ymaximum 72 ymaximum 72
action function action function
fixed: fixed:
@ -266,7 +266,7 @@ screen quick_menu():
ypos 0.977 ypos 0.977
grid 1 4: grid 1 4:
style_prefix "quick" style_prefix "quick"
xalign 0.010 xalign -0.005
yalign 0.010 yalign 0.010
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \ use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \
@ -1543,7 +1543,7 @@ style pref_vbox:
screen quick_button(filename, label, function): screen quick_button(filename, label, function):
variant "small" variant "small"
button: button:
xmaximum 160 xmaximum 180
ymaximum 100 ymaximum 100
action function action function
fixed: fixed:
@ -1558,7 +1558,6 @@ screen quick_menu():
style_prefix "quick" style_prefix "quick"
xalign 0.5 xalign 0.5
yalign 0.975 yalign 0.975
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \ use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \
[ \ [ \
[ "Back", Rollback() ], \ [ "Back", Rollback() ], \