Code: Select all
screen choice(items):
style_prefix "choice"
hbox:
xalign 0.5
yalign 0.9
xanchor 0.5
yanchor 0.0
for i in items:
textbutton i.caption action i.action
Code: Select all
screen choice(items):
style_prefix "choice"
hbox:
xalign 0.5
yalign 0.9
xanchor 0.5
yanchor 0.0
for i in items:
textbutton i.caption action i.action