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
Currently the text of a CheckBox does not wrap, which can mess up the UI layout if the text is long (e.g. enforcing a very wide window). The problem becomes bigger if the displayed text is translatable, so in other languages it might be even longer than what is displayed during UI development. To avoid translations (or long texts in general) messing up the UI layout, CheckBox should support the wrap property, just like the Text element. Possibly also the overflow property would be useful.
Opening this discussion thread instead of an issue because one could ask how far this feature should go - the Text element has many more properties which sooner or later might also be useful for CheckBox (in the end, a CheckBox consists of a box and a Text).
I think for now the most important property is wrap (with centered vertical alignment) as it should solve layout issues. Anything else is nice to have. Second priority would be overflow, color, font-size, font-italic, font-weight.
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
-
Currently the text of a CheckBox does not wrap, which can mess up the UI layout if the text is long (e.g. enforcing a very wide window). The problem becomes bigger if the displayed text is translatable, so in other languages it might be even longer than what is displayed during UI development. To avoid translations (or long texts in general) messing up the UI layout, CheckBox should support the
wrap
property, just like the Text element. Possibly also theoverflow
property would be useful.Opening this discussion thread instead of an issue because one could ask how far this feature should go - the Text element has many more properties which sooner or later might also be useful for CheckBox (in the end, a CheckBox consists of a box and a Text).
I think for now the most important property is
wrap
(with centered vertical alignment) as it should solve layout issues. Anything else is nice to have. Second priority would beoverflow
,color
,font-size
,font-italic
,font-weight
.Beta Was this translation helpful? Give feedback.
All reactions