Improve documentation of Window/Area::resizable
This commit is contained in:
parent
92593b70fa
commit
51da2ac490
|
|
@ -124,7 +124,10 @@ impl Resize {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Can you resize it with the mouse?
|
/// 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 {
|
pub fn resizable(mut self, resizable: bool) -> Self {
|
||||||
self.resizable = resizable;
|
self.resizable = resizable;
|
||||||
self
|
self
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,10 @@ impl<'open> Window<'open> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Can the user resize the window by dragging its edges?
|
/// 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.
|
/// 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 {
|
pub fn resizable(mut self, resizable: bool) -> Self {
|
||||||
self.resize = self.resize.resizable(resizable);
|
self.resize = self.resize.resizable(resizable);
|
||||||
self
|
self
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue