• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Unusual behaviour of truncateToFit property in Flash Player and AIR application

Community Beginner ,
May 18, 2020 May 18, 2020

Copy link to clipboard

Copied

I have a Label

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

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

Screen Shot 2020-05-19 at 1.45.36 AM.png 

 

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

Screen Shot 2020-05-19 at 1.46.49 AM.png

 

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.

 

TOPICS
Development , Other

Views

206

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines