How to set the window in the middle of the desktop? #1058
Answered
by
hecrj
push-and-pop
asked this question in
Q&A
I did not find it |
Answered by
hecrj
Sep 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


If you rely on
master, you should be able to use thepositionfield inwindow::Settings:iced/src/window/settings.rs
Lines 9 to 10 in 35c4ad6
And set it to
Position::Centered:iced/src/window/position.rs
Lines 6 to 7 in 35c4ad6