How to launch the Slint (Rust) application in maximized mode?
I am developing a desktop application in Rust using the Slint library and really want it to run in maximized mode. But I ran into a problem if I just use app.window().set_maximized(true); after that, launch the application, it will start in the maximized state and with the corresponding icon on the toolbar, but it will have the same dimensions with which it runs in windowed mode, and is located in the upper left corner.
Incorrectly maximized window
Meanwhile the app.run() function blocks the stream, which is why it does not work to assign the desired value to the parameter after the application is launched.
How to set font-size for Button’s text in Slint?
I could not find any answer online. I’m looking for a way to set font-size for this text using Slint (Rust).