diff --git a/src/configs/types/config_window.rs b/src/configs/types/config_window.rs index b09611c1..d794b506 100644 --- a/src/configs/types/config_window.rs +++ b/src/configs/types/config_window.rs @@ -14,7 +14,7 @@ pub struct ConfigWindow { impl ConfigWindow { pub const DEFAULT_SIZE: (u32, u32) = (1190, 670); - // pub const MIN_SIZE: (u32, u32) = (800, 500); + pub const MIN_SIZE: (u32, u32) = (800, 500); const THUMBNAIL_SIZE: (u32, u32) = (360, 222); const FILE_NAME: &'static str = "window"; diff --git a/src/main.rs b/src/main.rs index 1522684c..eb8d5720 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,7 +95,7 @@ pub fn main() -> iced::Result { window: window::Settings { size: size.to_size(), // start size position: position.to_position(), - min_size: None, // Some(ConfigWindow::MIN_SIZE.to_size()), // min size allowed + min_size: Some(ConfigWindow::MIN_SIZE.to_size()), // min size allowed max_size: None, visible: true, resizable: true,