Skip navigation
lizsterine
Currently Being Moderated

StyleableTextField doesn't display fontWeight or fontStyle in iPad 3

Jun 27, 2012 10:02 PM

Tags: #ios #flex-4.6 #itemrenderer #font_style #fontweight #styleabletextfield

I have some LabelItemRenderers in my app that have a few StyleableTextFields in them:

  • one to display a title in bold,
  • one to display a bit of content and
  • one to display a status in italics and another colour. 

 

I apply the text stylings through setStyle() functions during the "set data" method as the heading style can slightly differ depending on data.  All fields use a system font.

 

The different styles show up on iPad 1 correctly (and in the desktop emulator).  But, on iPad 3, the fontWeight and fontStyle settings don't render, but the text colour change does. 

 

I've recently updated the AIR SDK to 3.3 and the problem still persists. 

 

Dev info:

  • Using FlashBuilder 4.6 Professional
  • Flex SDK: 4.6
    AIR SDK: 3.3
  • Builds done with ANT script using MXMLC for swf compilation

 

 

Any ideas? 

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points