fix: make windows not resizable
This commit is contained in:
parent
93385bc42c
commit
eb810a1436
3 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ pub fn main() -> cosmic::iced::Result {
|
|||
InitialSurface::LayerSurface(_) => todo!(),
|
||||
InitialSurface::XdgWindow(w) => {
|
||||
w.autosize = true;
|
||||
w.resizable = None;
|
||||
w.size_limits = Limits::NONE
|
||||
.min_height(1.0)
|
||||
.max_height(200.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue