Ah, found an answer. truncateToFit doesn't work with percentWidth, or when not specifying a width. The following works:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:HDividedBox width="300"> <mx:VBox id="b1" width="100%" height="100" borderStyle="solid" horizontalScrollPolicy="off"> <mx:Label text="test truncate" width="{ b1.width }" /> </mx:VBox> <mx:VBox id="b2" width="100%" height="100" borderStyle="solid" horizontalScrollPolicy="off"> <mx:Label text="test truncate" truncateToFit="true" width="{ b2.width }" /> </mx:VBox> </mx:HDividedBox> </mx:Application> > While I have managed to get "..." to work in a number of situations, for > some reason the text in the label is not truncating as expected. Does > anyone know how to get the textfields to truncate properly? > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> > <mx:HDividedBox width="300"> > <mx:VBox width="100%" height="100" borderStyle="solid" > horizontalScrollPolicy="off"> > <mx:Label text="test truncate" /> > </mx:VBox> > <mx:VBox width="100%" height="100" borderStyle="solid" > horizontalScrollPolicy="off"> > <mx:Label text="test truncate" truncateToFit="true" /> > </mx:VBox> > </mx:HDividedBox> > </mx:Application>

