mirror of
				https://github.com/WarrenHood/MCModpackManager.git
				synced 2025-11-04 01:58:41 +00:00 
			
		
		
		
	Added an initial and min size to mmm
				
					
				
			This commit is contained in:
		
							parent
							
								
									9df380ad18
								
							
						
					
					
						commit
						50b3c25a4a
					
				| 
						 | 
					@ -12,7 +12,20 @@ use mcmpmgr::profiles::{self, Profile};
 | 
				
			||||||
use mcmpmgr::providers::DownloadSide;
 | 
					use mcmpmgr::providers::DownloadSide;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub fn main() -> iced::Result {
 | 
					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)]
 | 
					#[derive(Default)]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue