Skip to content

Commit

Permalink
set window minimum size to None
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Apr 6, 2024
1 parent 06abbcc commit 86e35e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/configs/types/config_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn main() -> iced::Result {
window: window::Settings {
size: size.to_size(), // start size
position: position.to_position(),
min_size: Some(ConfigWindow::MIN_SIZE.to_size()), // min size allowed
min_size: None, // Some(ConfigWindow::MIN_SIZE.to_size()), // min size allowed
max_size: None,
visible: true,
resizable: true,
Expand Down

0 comments on commit 86e35e8

Please sign in to comment.