-
Is there an easy way to start with the main window maximized (desktop applications)? Currently, it seems only possible to go via winit -> monitor (primary display) -> video mode and get the sizes and then manually set them manually. Maybe I am overlooking something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Right now, the situation is not ideal. Does that answer your question? |
Beta Was this translation helpful? Give feedback.
-
The following is a kind of solve :
|
Beta Was this translation helpful? Give feedback.
Right now, the situation is not ideal.
You can use the
SLINT_FULLSCREEN=1
environment variable (it is documented here )The other option is to use private API via the i-slint-backend-winit and then you can have a reference to the winit::Window so you can put it full screen through this API
Does that answer your question?