From 7ff5d4726b3f2d5b9aa7919d30c93789b7df586c Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 19 Dec 2020 14:55:17 +0100 Subject: [PATCH] Change default window width --- egui/src/containers/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui/src/containers/window.rs b/egui/src/containers/window.rs index 04913038..9ef5bd0a 100644 --- a/egui/src/containers/window.rs +++ b/egui/src/containers/window.rs @@ -40,7 +40,7 @@ impl<'open> Window<'open> { resize: Resize::default() .with_stroke(false) .min_size([96.0, 32.0]) - .default_size([420.0, 420.0]), // Default inner size of a window + .default_size([340.0, 420.0]), // Default inner size of a window scroll: None, collapsible: true, with_title_bar: true,