Code: Select all
vbox:
xpos 648
xsize 1260
ysize 1000
# The frame at the top
frame:
background Solid("#000")
has hbox:
xfill True
xysize (1260, 50)
ysize 50
# the rows
vpgrid:
cols 1
spacing 5
draggable True
mousewheel True
scrollbars "vertical"
side_xalign 0.5
for i in xrange(5):
frame:
background Solid("#000")
has hbox:
xfill True
xysize (1260, 50)
button:
xsize 150
text "zero"
ypos 5
button:
xsize 150
text "one"
ypos 5
button:
xsize 150
text "two"
ypos 5
button:
xsize 150
text "three"
ypos 5
What is causing this extra space, and how can I get rid of it? I want the vpgrid to align right underneath the frame.