-
I need a widget to display runtime log which support auto scroll to bottom when new log string is added. Ideally, TextEdit or ScrollView+Text might have some function like "Scroll To XY", I could invoke it to control the scroll position programable, but I didn't find any clue from document and examples. Any hint? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's a feature that make sense. I wonder what API it should have. Right now, you will have to set the content-y manually to go to the end like so:
|
Beta Was this translation helpful? Give feedback.
-
Are there any plans for an out-of-the-box autoscroll feature? I currently have to manually implement a scroll-to-bottom function like @ogoffart suggested and manually invoke it from the backend code every time I want to add a new output line to a |
Beta Was this translation helpful? Give feedback.
That's a feature that make sense. I wonder what API it should have.
Right now, you will have to set the content-y manually to go to the end like so:
Full example