I know that vbox can take textbutton and text inside.
For ex:
Code: Select all
vbox:
textbutton "Do this"
textbutton "Do that"
If yes, how should I proceed with it?
I tried putting this code but it won't work: (the second entree overlaps with the first entree, I guess vbox can't take in frame?)
Code: Select all
vbox:
spacing 10
side "c r":
area (392, 272, 845, 446)
viewport id "tweet_list":
draggable True mousewheel True
frame:
has vbox
for i in tweet:
fixed:
add "socialmedia/tweetbackground.png"
add i.sender_avatar xpos 9 ypos 9
text i.dateandtime xpos 103 ypos 9 font "Roboto-Regular.ttf" size 12 color "#000000"
vbox:
area (104, 27, 726, 66)
text i.content font "Roboto-Regular.ttf" size 18 color "#000000"
Thank you!