I have frames inside a hbox inside a vbox inside a viewport (crazy, yes).
When filling the viewport with a for loop, it gets tired of passing the correct properties and, at some point, it gets tired of passing the actual content of the frames:
Code: Select all
screen test():
viewport:
scrollbars "vertical"
draggable True
mousewheel True
has vbox
xalign .5
hbox:
box_wrap True
spacing 30
for i in range(15):
frame:
xysize(300, 300)
bottom_margin 30
label "Frame " + str(i) yalign 0.0
text "Qfh fjksdh kjdsh fdkjshf sdhfkjdshfjk sdhf dsk" yalign 0.37
textbutton "Textbutton" action NullAction() yalign 1.0