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(