flet
flet copied to clipboard
`item_height` not implemented causes Dropdown selected Option to render outside of control element if `height < item_height`
https://user-images.githubusercontent.com/82219871/193192844-62dac2bc-ff4a-4ac2-afe7-bd5cccc96f15.mov
what's the corresponding Flutter's widget property?
itemHeight, (and maybe also iconSize)
FYI: in the video I tried to demonstrate 2 issues: -1- if the app window is "flat", the option list gets cut off, and more urgent: -2- how a selected option isn't shown due to itemHeight > Height
1 - that's expected as the dropdown cannot be drawn outside the application window. Flutter dropdown is not a native OS dropdown which has its own "window" - it's just "painted" on a canvas.
2 - have you tried reducing Dropdown's content_padding?
I'll check if I can work with content_padding on this matter; will report back.
content_padding works.

Thank you for the update!