mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Ensure Window scroll bars are at the window edges (#4733)
Set `auto_shrink(false)` on `Window`s `ScrollArea`. This ensures that the scroll bars are always the outermost. * Closes https://github.com/emilk/egui/pull/4602
This commit is contained in:
@@ -59,7 +59,7 @@ impl<'open> Window<'open> {
|
||||
.with_stroke(false)
|
||||
.min_size([96.0, 32.0])
|
||||
.default_size([340.0, 420.0]), // Default inner size of a window
|
||||
scroll: ScrollArea::neither(),
|
||||
scroll: ScrollArea::neither().auto_shrink(false),
|
||||
collapsible: true,
|
||||
default_open: true,
|
||||
with_title_bar: true,
|
||||
|
||||
Reference in New Issue
Block a user