1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

More restoring

This commit is contained in:
Konkitoman
2023-08-05 17:32:16 +03:00
parent 03bc3f4c52
commit e64f335dcc
3 changed files with 33 additions and 71 deletions

View File

@@ -16,10 +16,6 @@ fn main() -> Result<(), eframe::Error> {
eframe::run_simple_native("My egui App", options, move |ctx, _frame| {
egui::CentralPanel::default().show(ctx, |ui| {
ui.label(format!(
"Current rendering window: {}",
ctx.get_viewport_id()
));
ui.heading("My egui Application");
ui.horizontal(|ui| {
let name_label = ui.label("Your name: ");