From 77ba7d51637999c3d8e587fee82381ac2729ab78 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 23 Jan 2023 09:27:31 +0100 Subject: [PATCH] Make sure the minimize button fits in the example --- examples/custom_window_frame/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/custom_window_frame/src/main.rs b/examples/custom_window_frame/src/main.rs index 557a16e2..02efc33c 100644 --- a/examples/custom_window_frame/src/main.rs +++ b/examples/custom_window_frame/src/main.rs @@ -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(