Mega Code Archive

 
Categories / Flex / Components
 

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>