Skip to content

How to programmatically scroll a ScrollArea to the end? #951

Answered by BctfN0HUK7Yg
singalen asked this question in Q&A
Discussion options

You must be logged in to vote

look a to the demo https://github.com/emilk/egui/blob/master/egui_demo_lib/src/apps/demo/scrolling.rs

if scroll_bottom {
ui.scroll_to_cursor(Align::BOTTOM);
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by singalen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants