> The only use case for using a TextArea as a cell renderer is when you have
> newlines in the string, and you're using the newly added variableRowHeight
> style in table view.   But in this case, you're not going to use the
> ellipsis, because you've chosen to grow your cells vertically.  If you want
> to keep the cells to one line and show an ellipsis, then your renderer
> should be using a Label, not a TextArea.
Ok, this was a workaround to set something like a maximunRowHeight,
and probably that is the right way to do this (if this style exist, or
if it will exist), if needed.

> By all means, a ticket can't hurt :)  It can just say "Implement the 
> showEllipsis style in LabelSkin"
Done.

> FWIW, I don't think this is a good use case for inheritance. I actually think 
> it would be more difficult to implement this behavior in a sub-class.
Yes, I agree, with internal classes, listeners etc probably wasn't the
right way to do this.

Thanks,
Sandro

Reply via email to