diff --git a/crates/egui/src/containers/resize.rs b/crates/egui/src/containers/resize.rs index befb51a1..2f71a57c 100644 --- a/crates/egui/src/containers/resize.rs +++ b/crates/egui/src/containers/resize.rs @@ -124,7 +124,10 @@ impl Resize { } /// Can you resize it with the mouse? - /// Note that a window can still auto-resize + /// + /// Note that a window can still auto-resize. + /// + /// Default is `true`. pub fn resizable(mut self, resizable: bool) -> Self { self.resizable = resizable; self diff --git a/crates/egui/src/containers/window.rs b/crates/egui/src/containers/window.rs index d5c3f680..1d2444ca 100644 --- a/crates/egui/src/containers/window.rs +++ b/crates/egui/src/containers/window.rs @@ -217,7 +217,10 @@ impl<'open> Window<'open> { } /// Can the user resize the window by dragging its edges? + /// /// Note that even if you set this to `false` the window may still auto-resize. + /// + /// Default is `true`. pub fn resizable(mut self, resizable: bool) -> Self { self.resize = self.resize.resizable(resizable); self