get maximum UI view size? #78
Answered
by
omz
sloanlance
asked this question in
Q&A
|
I'm working with I'd like to know whether there is a way to query the device for the maximum size of its screen. It would be nice if this query could be done before presenting a view. So far, the idea I came up with was to create a view object of enormous proportions and after it's been made visible with |
Answered by
omz
Aug 15, 2025
Replies: 1 comment 1 reply
|
You can use |
1 reply
Answer selected by
sloanlance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
ui.get_screen_size()for this.