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)]
vbox:
style_prefix "check"
style_prefix "navigation"
label _("Language")
vpgrid:
rows len(languages)
cols 1
mousewheel True
draggable True
xsize 300
xsize 320
ysize 250
if len(languages)>5:
scrollbars "vertical"
for lang in languages:
fixed:
xsize 250
xsize 400
ysize 60
hbox:
textbutton lang["name"] action Language(lang["value"]) activate_sound "audio/ui/uiRollover.wav"