Width/Height of screen #4094
Unanswered
LordVagous
asked this question in
Q&A
Replies: 2 comments
-
Maybe you need to call the system api to get the screen size or use other crates. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to use window().set_size with the size which you can compute based on the screen size. To get the screen size, you will need to use another crate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I set the width and height of a window to half the screen?
Beta Was this translation helpful? Give feedback.
All reactions