mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Add docstring to ui.with_layout
This commit is contained in:
@@ -1397,6 +1397,10 @@ impl Ui {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The new layout will take up all available space.
|
||||||
|
///
|
||||||
|
/// Consider using [`Self::allocate_ui_with_layout`] instead,
|
||||||
|
/// or the helpers [`Self::horizontal]`, [`Self::vertical`], etc.
|
||||||
pub fn with_layout<R>(
|
pub fn with_layout<R>(
|
||||||
&mut self,
|
&mut self,
|
||||||
layout: Layout,
|
layout: Layout,
|
||||||
|
|||||||
Reference in New Issue
Block a user