Set minimum window size
This commit is contained in:
parent
791f00ddb7
commit
028d0175eb
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@ use cosmic::{
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn main() -> cosmic::iced::Result {
|
pub fn main() -> cosmic::iced::Result {
|
||||||
Window::run(settings())
|
let mut settings = settings();
|
||||||
|
settings.window.min_size = Some((600, 300));
|
||||||
|
Window::run(settings)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue