Skip to content

How to start with the main window maximized? #3478

Answered by ogoffart
oswald2 asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@oswald2
Comment options

Answer selected by oswald2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants