Replies: 5 comments 2 replies
-
I'm on Windows, so looked for info on Winit side and found something interesting here, but it doesn't seem to work. also found a set_resizable function in Winit, so will see if I could use that. |
Beta Was this translation helpful? Give feedback.
-
Thanks ! |
Beta Was this translation helpful? Give feedback.
-
I want to know if you have implemented the disable maximize button, because sometimes I also need to disable the maximize minimize and close buttons @ffred |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@Dovelong0713
here is my build.rs file :
my main.slint file :
and finally, my main.rs file :
and I got a window with a desactivated maximize button ! :-) |
Beta Was this translation helpful? Give feedback.
-
Hi,
I think I already seen something about that, but can't find any info right now..
how can I remove the maximize button or disable it ?
how can I define a window to be non resizable ??
thanks
[Edit:] I set min-height/width and max-height/width and it's nice like that. it keeps the resize possibilities in something that suits me well.
but still got the "problem" that the maximize button goes over the max sizes I set, to full screen. and I don't want that. so, still need a way to disable it.....
Beta Was this translation helpful? Give feedback.
All reactions