Set wordWrap and variableRowHeight : List « Components « Flex
- Flex
- Components
- List
Set wordWrap and variableRowHeight

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:List variableRowHeight="true" wordWrap="true" width="220"
height="200">
<mx:dataProvider>
<mx:String>A</mx:String>
<mx:String>B</mx:String>
<mx:String>C</mx:String>
</mx:dataProvider>
</mx:List>
</mx:Application>
Related examples in the same category