Skip to main content
Participant
May 18, 2020
Question

Unusual behaviour of truncateToFit property in Flash Player and AIR application

  • May 18, 2020
  • 0 replies
  • 256 views

I have a Label

<mx:Label text="(PSIDs)" paddingLeft="0"/>

When I run the swf in Flash Player inside browser it looks like this 

 

 

When I run the same swf as AIR application it looks like this

 

In AIR Application, Text is getting truncated by Ellipsis (three dots ... ) but works perfectly fine in Flash Player inside browser.

 

To fix this I need to add property

truncateToFit="false"

to the label, but I cannot make this change as we have used Label in hundreds of places.

 

This topic has been closed for replies.