···208208 }
209209210210 mgr.window().show().unwrap_or_default();
211211+ // Force the window to its intended size after the first
212212+ // show(). On Linux/X11 the WM may not honour with_inner_size
213213+ // during initial window creation; an explicit set_size after
214214+ // mapping ensures the layout is computed at the right height.
215215+ mgr.window().window().set_size(
216216+ slint::LogicalSize::new(760.0, 680.0),
217217+ );
211218 settings_mgr = Some(mgr);
212219 }
213220 Err(e) => log::warn!("Failed to create settings window: {e}"),