Hello,
I want to achieve the following result using a multiline LabelItemRenderer:
the component must change width & height based on its maxWidth.
For a multiline LabelItemRenderer, I've used the one from this link:
http://flexponential.com/2011/08/21/adding-multiline-text-support-to-labelitemrenderer/
It doesn't work when maxWidth becomes greater than component width.
As far as I investigated, the labelDisplay has an initial width set to
400 in constructor and the wordWrap mechanism seems to take this into
consideration (I don't know how) because it doesn't matter how long my
text is, the width doesn't became greater than 400 (it stops around 320).
Do you know why this happens?
Thank you,
Cristina