I don't think it has a problem with concatenated Strings... that would be very 
surprising if it did. But I don't think it works properly with htmlText.

- Gordon

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Matthew
Sent: Wednesday, September 16, 2009 3:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] truncateToFit() and concatenated Strings



Hi -

I have a Label with truncateToFit set to true and a maxWidth. However, the 
htmlText I assign is concatenated a la:

ipText = '<b>' +endPointData.ipLabel+ '</b>: ' + endPointData.ipValue;

I've researched online and found that truncateToFit() has problems dealing with 
concatenated Strings; my text does not get truncated.

Has anyone found a solution?

Thank you for any tips.

Reply via email to