actually fix the language selector jank so it can support longer named languages

This commit is contained in:
Map 2024-07-20 14:30:25 -05:00
parent 50afe3a646
commit 670a3624c5

View file

@ -993,6 +993,7 @@ screen preferences():
textbutton _("Transitions") action [Function(onclick_audio, preferences.transitions, True), ToggleVariable("preferences.transitions", 0, 2)] textbutton _("Transitions") action [Function(onclick_audio, preferences.transitions, True), ToggleVariable("preferences.transitions", 0, 2)]
vbox: vbox:
xsize 676
style_prefix "check" style_prefix "check"
label _("Language") label _("Language")
vpgrid: vpgrid:
@ -1000,7 +1001,7 @@ screen preferences():
cols 1 cols 1
mousewheel True mousewheel True
draggable True draggable True
xsize 676 xsize 550
ysize 250 ysize 250
if len(languages)>4: if len(languages)>4:
scrollbars "vertical" scrollbars "vertical"