page resizing
#1329
Replies: 1 comment
-
I guess you should update control sizes in |
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.
-
Question
I want objects to be resized proportionally to the size of the web page. How can I do this? I sized objects by page.height and page.width. For example:

search_field = ft.TextField(height=page.height * 0.04, width=page.width * 0.45, on_change=search)
Full Screen
Partial Screen
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions