You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
This discussion was converted from issue #1330 on April 24, 2023 16:01.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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:
Beta Was this translation helpful? Give feedback.
All reactions