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 |
Beta Was this translation helpful? Give feedback.
Answered by
hecrj
Sep 27, 2021
Replies: 2 comments 2 replies
-
If you rely on Lines 9 to 10 in 35c4ad6 And set it to Lines 6 to 7 in 35c4ad6 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hecrj
-
Hello, I don’t seem to find this position |
Beta Was this translation helpful? Give feedback.
2 replies
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 theposition
field 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