Hi to all,
after thinking a little on it, what do you think if we implement the
showEllipsis style for the Label, but in a class derived form label,
to avoid if/checks etc ?

And, to generalize this, enable this only when a width constraint is
enabled in the label (as in many graphics programs) without asking the
container of the label.
Then, there we could also have a default behavior (truncate the string
at the right length, and could not be so light to calculate it, this
is the real reason I think to move in a subclass of Label), and maybe
other behaviors, for example when I display a file with full path it's
more useful to truncate the final part of the path but keep the name
part if possible, etc ...


Then, I'm thinking if this could makes sense also for the TextInput
(maybe) and TextArea (maybe but this is much more complex so maybe
only a simple case could be handled, or nothing :-) ) components ...


I can open a ticket for it, maybe for the 1.5.

Comments ?

Bye

Reply via email to