This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How to tell a TextView to scroll?
Hi, I have info printing into text view.. but as I append new data it will not scroll the textview.. but just show 1 line of the new data and you have to scroll to see the rest manually with a finger scroll. Is there any way to fix this or am I stuck?
abcabc last edited by
See this example posted few days ago. (The scroll function is based on a post by JonB sometime ago).
Here is the only function you need to do the TextView scroll. The function will just read your 'textview' content and offset. Works great!
v['textview1'].content_offset = (0, v['textview1'].content_size -v['textview1'].height)