How to programmatically scroll a ScrollArea to the end? #951
-
Looking at |
Beta Was this translation helpful? Give feedback.
Answered by
BctfN0HUK7Yg
Dec 14, 2021
Replies: 2 comments
-
look a to the demo https://github.com/emilk/egui/blob/master/egui_demo_lib/src/apps/demo/scrolling.rs if scroll_bottom { |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
singalen
-
Thank you! My bad, I missed it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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);
}