1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Replace uses of context-panels with ui-panels

This commit is contained in:
Emil Ernerfeldt
2025-11-16 19:04:15 +01:00
parent 3b97c828c6
commit 43f7982cd2
13 changed files with 177 additions and 164 deletions

View File

@@ -45,6 +45,8 @@ impl eframe::App for MyApp {
ui.set_height(32.0);
});
self.demo.ui(ctx);
egui::CentralPanel::default().show(ctx, |ui| {
self.demo.ui(ui);
});
}
}