mirror of
https://github.com/storytold/egui.git
synced 2026-11-24 03:22:06 +01:00
Improve docs of ui.collapsing
See https://github.com/emilk/egui/issues/4265
This commit is contained in:
1 parent
dfbe118ea4
commit
0a428f0887
1 file changed
+3
@@ -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>,
|
||||
|
||||
Reference in new issue
Block a user