I have a label, which value is set via htmlText property. If I don't specify any font size, label field is scaled to show the entire text. However, if I set font size, the text will be clipped. How do I tell the label to take into account the font size when it's calculating its preferred width?
Here's a short demonstration of the problem: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Label htmlText="Not so long text field"/> <mx:Label htmlText="<font size='14'>Not so long text field</font>"/> </mx:Application> Markus Ansamaa -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

