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
The overflow of long text options in a Dropdown render outside the container. I'd like to use ellipsis or clip it. In Flet (0.22), the Option class only supports str-type key and text fields.
(Optional): Suggest A Solution
In Flutter, the TextStyle class has an overflow option. This option would be useful wherever there is text - it would be great if it was included in Flet's TextStyle.
Flet does have the overflow option on the Text control but Dropdown's Option class expects just a string. Another option could be using the Text control in Option, though this could be a potential issue in other controls. Dropdown does have a text_style property so adding the support within TextStyle so that could just work.
The text was updated successfully, but these errors were encountered:
Please Describe The Problem To Be Solved
The overflow of long text options in a
Dropdown
render outside the container. I'd like to use ellipsis or clip it. In Flet (0.22), the Option class only supportsstr
-type key and text fields.(Optional): Suggest A Solution
In Flutter, the TextStyle class has an overflow option. This option would be useful wherever there is text - it would be great if it was included in Flet's
TextStyle
.Flet does have the overflow option on the
Text
control butDropdown
'sOption
class expects just a string. Another option could be using theText
control inOption
, though this could be a potential issue in other controls.Dropdown
does have atext_style
property so adding the support withinTextStyle
so that could just work.The text was updated successfully, but these errors were encountered: