Skip to content

Commit 86ddad1

Browse files
authored
Update main.rs
1 parent a41c0d4 commit 86ddad1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/test_ui_stack/src/main.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,6 @@ impl eframe::App for MyApp {
9696
});
9797
});
9898

99-
egui::TopBottomPanel::bottom("bottom_panel")
100-
.resizable(true)
101-
.show(ctx, |ui| {
102-
egui::ScrollArea::vertical()
103-
.auto_shrink(false)
104-
.show(ui, |ui| {
105-
stack_ui(ui);
106-
107-
// full span test
108-
ui.add_space(20.0);
109-
full_span_widget(ui, false);
110-
});
111-
});
112-
11399
egui::CentralPanel::default().show(ctx, |ui| {
114100
egui::ScrollArea::both().auto_shrink(false).show(ui, |ui| {
115101
ui.label("stack here:");
@@ -190,6 +176,20 @@ impl eframe::App for MyApp {
190176
});
191177
});
192178

179+
egui::TopBottomPanel::bottom("bottom_panel")
180+
.resizable(true)
181+
.show(ctx, |ui| {
182+
egui::ScrollArea::vertical()
183+
.auto_shrink(false)
184+
.show(ui, |ui| {
185+
stack_ui(ui);
186+
187+
// full span test
188+
ui.add_space(20.0);
189+
full_span_widget(ui, false);
190+
});
191+
});
192+
193193
egui::Window::new("Window")
194194
.pivot(egui::Align2::RIGHT_TOP)
195195
.show(ctx, |ui| {

0 commit comments

Comments
 (0)