Accommodates for weird flags and long language names

This commit is contained in:
GManon 2022-11-28 18:36:59 -03:00
parent eb86298f2c
commit fc2096d3f3
2 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -972,20 +972,20 @@ screen preferences():
textbutton _("Enable Lewd Images") action [Function(onclick_audio, persistent.lewd), ToggleVariable("persistent.lewd", True, False)] textbutton _("Enable Lewd Images") action [Function(onclick_audio, persistent.lewd), ToggleVariable("persistent.lewd", True, False)]
vbox: vbox:
style_prefix "check" style_prefix "navigation"
label _("Language") label _("Language")
vpgrid: vpgrid:
rows len(languages) rows len(languages)
cols 1 cols 1
mousewheel True mousewheel True
draggable True draggable True
xsize 300 xsize 320
ysize 250 ysize 250
if len(languages)>5: if len(languages)>5:
scrollbars "vertical" scrollbars "vertical"
for lang in languages: for lang in languages:
fixed: fixed:
xsize 250 xsize 400
ysize 60 ysize 60
hbox: hbox:
textbutton lang["name"] action Language(lang["value"]) activate_sound "audio/ui/uiRollover.wav" textbutton lang["name"] action Language(lang["value"]) activate_sound "audio/ui/uiRollover.wav"