Replies: 2 comments 1 reply
-
Stumbled across this thread, you do mean ComboBox instead of CheckBox right? |
Beta Was this translation helpful? Give feedback.
1 reply
-
native CheckBox don't wrap, AFAIK, which is why our CheckBox also don't wrap. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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