mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
[demo] disable name clash demo, since it is not working anyway
This commit is contained in:
@@ -341,7 +341,7 @@ impl DemoWindow {
|
|||||||
.show(ui, |ui| self.layout.ui(ui));
|
.show(ui, |ui| self.layout.ui(ui));
|
||||||
|
|
||||||
CollapsingHeader::new("Tree")
|
CollapsingHeader::new("Tree")
|
||||||
.default_open(true)
|
.default_open(false)
|
||||||
.show(ui, |ui| self.tree.ui(ui));
|
.show(ui, |ui| self.tree.ui(ui));
|
||||||
|
|
||||||
ui.collapsing("Columns", |ui| {
|
ui.collapsing("Columns", |ui| {
|
||||||
@@ -379,6 +379,8 @@ impl DemoWindow {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if false {
|
||||||
|
// TODO: either show actual name clash, or remove this example
|
||||||
ui.collapsing("Name clash demo", |ui| {
|
ui.collapsing("Name clash demo", |ui| {
|
||||||
ui.label("\
|
ui.label("\
|
||||||
Widgets that store state require unique identifiers so we can track their state between frames. \
|
Widgets that store state require unique identifiers so we can track their state between frames. \
|
||||||
@@ -390,10 +392,10 @@ impl DemoWindow {
|
|||||||
To help you debug this, an error message is printed on screen:");
|
To help you debug this, an error message is printed on screen:");
|
||||||
|
|
||||||
ui.collapsing("Collapsing header", |ui| {
|
ui.collapsing("Collapsing header", |ui| {
|
||||||
ui.label("Contents of first folddable ui");
|
ui.label("Contents of first foldable ui");
|
||||||
});
|
});
|
||||||
ui.collapsing("Collapsing header", |ui| {
|
ui.collapsing("Collapsing header", |ui| {
|
||||||
ui.label("Contents of second folddable ui");
|
ui.label("Contents of second foldable ui");
|
||||||
});
|
});
|
||||||
|
|
||||||
ui.label("\
|
ui.label("\
|
||||||
@@ -404,6 +406,7 @@ impl DemoWindow {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user