mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -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>(
|
||||
&mut self,
|
||||
layout: Layout,
|
||||
|
||||
Reference in New Issue
Block a user