[flexcoders] Re: How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread Tim Hoff

From Label.as:

// Plain text gets truncated with a 
// HTML text simply gets clipped, because it is difficult
// to skip over the markup and truncate only the non-markup.

-TH

--- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote:

 If you have a label such as:

 mx:Label truncateToFit=true text={_myText}/

 It will append an ellipsis when/if it truncates the text.

 However, if you have the following label:

 mx:Label truncateToFit=true htmlText={_myText}/

 The ellipsis is gone.

 Anyone know how to get it to show up in both instances?

 Thanks!





[flexcoders] Re: How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread gmoniey22
yea, I figured that was the case... I was just wondering if someone had a nice 
work around...

--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 From Label.as:
 
 // Plain text gets truncated with a 
 // HTML text simply gets clipped, because it is difficult
 // to skip over the markup and truncate only the non-markup.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, gmoniey22 gmoniey22@ wrote:
 
  If you have a label such as:
 
  mx:Label truncateToFit=true text={_myText}/
 
  It will append an ellipsis when/if it truncates the text.
 
  However, if you have the following label:
 
  mx:Label truncateToFit=true htmlText={_myText}/
 
  The ellipsis is gone.
 
  Anyone know how to get it to show up in both instances?
 
  Thanks!