Accommodates for weird flags and long language names
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 36 KiB |
@ -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"
|
||||||
|
Reference in New Issue
Block a user