Browse Source

Change default window width

pull/70/head
Emil Ernerfeldt 4 years ago
parent
commit
7ff5d4726b
  1. 2
      egui/src/containers/window.rs

2
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,

Loading…
Cancel
Save