diff --git a/psst-gui/src/ui/mod.rs b/psst-gui/src/ui/mod.rs index 27e3edd9..c8c1f7aa 100644 --- a/psst-gui/src/ui/mod.rs +++ b/psst-gui/src/ui/mod.rs @@ -88,7 +88,6 @@ pub fn preferences_window(config: &Config) -> WindowDesc { let mut win = WindowDesc::new(preferences_widget()) .title("Preferences") - .resizable(false) .show_title(false) .transparent_titlebar(true); @@ -107,6 +106,7 @@ pub fn preferences_window(config: &Config) -> WindowDesc { .show_titlebar(false); } else { win = win.window_size(win_size) + .resizable(false) } if cfg!(target_os = "macos") { win.menu(menu::main_menu) @@ -130,10 +130,8 @@ pub fn account_setup_window() -> WindowDesc { } pub fn kiosk_setup_window() -> WindowDesc { - let mut win = WindowDesc::new(kiosk_setup_widget()) .title("Setup") - .resizable(false) .show_title(false) .set_window_state(WindowState::Maximized) .show_titlebar(false) @@ -143,7 +141,8 @@ pub fn kiosk_setup_window() -> WindowDesc { let work_area = monitor.virtual_work_rect(); win = win .window_size(work_area.size()) - .set_position(druid::Point::new(0.0, 0.0)); + .set_position(druid::Point::new(0.0, 0.0)) + .resizable(false); } if cfg!(target_os = "macos") {