diff --git a/CHANGELOG.md b/CHANGELOG.md index d59b8bfa..3adff09a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG * Add `Plot::clamp_grid` to only show grid where there is data ([#2480](https://github.com/emilk/egui/pull/2480)). * Add `ScrollArea::drag_to_scroll` if you want to turn off that feature. * Add `Response::on_hover_and_drag_cursor`. +* Add `Window::default_open` ([#2539](https://github.com/emilk/egui/pull/2539)) ### Changed 🔧 * Improved plot grid appearance ([#2412](https://github.com/emilk/egui/pull/2412)). diff --git a/crates/egui/src/containers/window.rs b/crates/egui/src/containers/window.rs index a16ad860..1b5ffc6f 100644 --- a/crates/egui/src/containers/window.rs +++ b/crates/egui/src/containers/window.rs @@ -10,7 +10,7 @@ use super::*; /// /// You can customize: /// * title -/// * default, minimum, maximum and/or fixed size +/// * default, minimum, maximum and/or fixed size, collapsed/expanded /// * if the window has a scroll area (off by default) /// * if the window can be collapsed (minimized) to just the title bar (yes, by default) /// * if there should be a close button (none by default)