09 January 2011

Flex Text Height within a List

There’s a little trick if you’re trying to use a Text component as part of a custom itemRenderer for a List. The Text component will automatically wrap the text and set its correct height. However, when it’s in a list, you may find it gets cut off anyway. You have to set the variableRowHeight attribute of the List to true.