I have a viewport set up right now, and the text goes past the visible barriers that I have set up, but right now is draggable/scrollable. I'd like it to automatically scroll to the bottom whenever I append new text to it. Is that possible? Right now, it appends the text to it, but doesn't display it. The player has to manually scroll downwards to see anything new that is added.
Here is the viewport code I'm using right now:
Code: Select all
frame:
background "transparent.png" # or use any semi-transparent image you like
side "c r":
area (1015, 162, 1250, 400)
viewport id "vp":
draggable True
mousewheel True
yinitial 1.0
vbox:
spacing 5
for k in viewport_test:
text k
Thanks to anyone who helps me out. It would be GREATLY appreciated.