From 1cb9d954d1c557ba787d89a0d1d770fa487ff0dd Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 4 Feb 2023 14:30:26 +0100 Subject: [PATCH] Update minimum window size --- 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 736e20cc..36169369 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(400.0, 100.0)), + initial_window_size: Some(egui::vec2(400.0, 240.0)), ..Default::default() }; eframe::run_native(