mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Make stick_to_bottom take a bool argument
This commit is contained in:
@@ -271,7 +271,7 @@ impl super::View for ScrollStickTo {
|
||||
|
||||
let text_style = TextStyle::Body;
|
||||
let row_height = ui.text_style_height(&text_style);
|
||||
ScrollArea::vertical().stick_to_bottom().show_rows(
|
||||
ScrollArea::vertical().stick_to_bottom(true).show_rows(
|
||||
ui,
|
||||
row_height,
|
||||
self.n_items,
|
||||
|
||||
Reference in New Issue
Block a user