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'm building a small app and added a Dropdown widget, but it appears disproportionately large compared to the rest of the UI — even though the font size inside is small (screenshot and code attached).
I suspect the size is affected by the button that triggers the dropdown. I managed to resize the arrow icon, but I can't figure out how to reduce the padding or clickable area around the button itself.
Additionally, I'm not sure how to control the spacing/margins between the dropdown list items — maybe there's a way to adjust that too?
Note: Flet 0.27 introduced a new Dropdown component. I didn’t use the older version much, so I can’t compare.
Question: How can I make the Dropdown smaller (both the button and the expanded list items)?
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
-
Question
I'm building a small app and added a Dropdown widget, but it appears disproportionately large compared to the rest of the UI — even though the font size inside is small (screenshot and code attached).
I suspect the size is affected by the button that triggers the dropdown. I managed to resize the arrow icon, but I can't figure out how to reduce the padding or clickable area around the button itself.
Additionally, I'm not sure how to control the spacing/margins between the dropdown list items — maybe there's a way to adjust that too?
Note: Flet 0.27 introduced a new Dropdown component. I didn’t use the older version much, so I can’t compare.
Question: How can I make the Dropdown smaller (both the button and the expanded list items)?
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions