Improve docs of `ui.collapsing`
See https://github.com/emilk/egui/issues/4265
This commit is contained in:
parent
dfbe118ea4
commit
0a428f0887
|
|
@ -1806,6 +1806,9 @@ impl Ui {
|
|||
}
|
||||
|
||||
/// A [`CollapsingHeader`] that starts out collapsed.
|
||||
///
|
||||
/// The name must be unique within the current parent,
|
||||
/// or you need to use [`CollapsingHeader::id_source`].
|
||||
pub fn collapsing<R>(
|
||||
&mut self,
|
||||
heading: impl Into<WidgetText>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue