Truncate To Fit by setting truncateToFit to true : Label « Components « Flex
- Flex
- Components
- Label
Truncate To Fit by setting truncateToFit to true

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="#eeeeee">
<mx:Label width="200" truncateToFit="true"
text="The quick red fox jumped over the lazy brown dog."/>
</mx:Application>
Related examples in the same category