1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Improve docs of ui.collapsing

See https://github.com/emilk/egui/issues/4265
This commit is contained in:
Emil Ernerfeldt
2024-03-29 15:58:22 +01:00
parent dfbe118ea4
commit 0a428f0887

View File

@@ -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>,