Log Console
#7421
-
Hi there, I am new to Slint and trying to implement a log console to my application. It shall behave much like a linux console. |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Jan 22, 2025
Replies: 1 comment 1 reply
-
You can do it with a ListView of Text. For automatic scrolling, you can do a function like public function scroll-to-end(){
listview.viewport-y = - listview.viewport-height + listview.visible-height;
} And call this function after adding an element to the list |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Finkman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do it with a ListView of Text.
For automatic scrolling, you can do a function like
And call this function after adding an element to the list
Slintpad Link