Added an initial and min size to mmm

This commit is contained in:
Warren Hood 2024-09-01 22:55:58 +02:00
parent 9df380ad18
commit 50b3c25a4a

View file

@ -12,7 +12,20 @@ use mcmpmgr::profiles::{self, Profile};
use mcmpmgr::providers::DownloadSide;
pub fn main() -> iced::Result {
ManagerGUI::run(Settings::default())
ManagerGUI::run(Settings {
window: iced::window::Settings {
size: iced::Size {
width: 800.0,
height: 300.0,
},
min_size: Some(iced::Size {
width: 800.0,
height: 300.0,
}),
..Default::default()
},
..Default::default()
})
}
#[derive(Default)]