First, I put my choices into the textbox. Then, I put the code "draggable" and "mousewheel" but still didn't work.
Like this:
Code: Select all
screen choice(items):
style_prefix "choice"
if line_length <= 57:
if len(items) >= 3: #itens nas escolhas muitos
viewport:
draggable True
mousewheel True
scrollbars "vertical"
xsize 800
ysize 150
xpos 250
ypos 450
vbox:
for i in items:
textbutton i.caption action i.action
else:
vbox:
xpos 250
ypos 500
for i in items:
textbutton i.caption action i.action
else:
if len(items) >= 2:
viewport:
draggable True
mousewheel True
scrollbars "vertical"
xsize 800
ysize 150
xpos 250
ypos 450
vbox:
for i in items:
textbutton i.caption action i.action
else:
vbox:
for i in items:
textbutton i.caption action i.action
IMAGE ===> https://64.media.tumblr.com/526f1cbc1c3 ... ca7414.pnj
Someone can help me to put a scrollbar here? Thanks!