Word-wrap on a Flex field component
September 24th, 2009
Make sure that you set the width of your
Some other guys found another workaround that gets around explicit widths, but it also looks fragile.
Anyway, if this comes up in a google search, I’ll have saved someone else some time.
Just do this in your code:
textField.setStyle(”textField.wordWrap“,”textField.wordWrap”);
Woah, really? That’s awesome. Thanks Wal!