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

Make sure the minimize button fits in the example

This commit is contained in:
Emil Ernerfeldt
2023-01-23 09:27:31 +01:00
parent 3e155c9f41
commit 77ba7d5163

View File

@@ -10,8 +10,8 @@ fn main() -> Result<(), eframe::Error> {
decorated: false,
// To have rounded corners we need transparency:
transparent: true,
min_window_size: Some(egui::vec2(320.0, 100.0)),
initial_window_size: Some(egui::vec2(320.0, 240.0)),
min_window_size: Some(egui::vec2(350.0, 100.0)),
initial_window_size: Some(egui::vec2(350.0, 240.0)),
..Default::default()
};
eframe::run_native(