Jump to content
Search Community

Marcel

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Marcel

  1. Hi everybody,

     

    I'm using the Flex Version of the TransformManager to scale a Spark-RichText-Component. I got the 'contrainScale' property set to true and the 'scaleMode' set to SCALE_NORMAL.

     

    The scaling works fine but what I need to determine is the new corresponding font size.

     

    I also thought about calculating the font size depending on the components new width or height, with the scaleMode set to SCALE_WIDTH_AND_HEIGHT. Can't figure it out, any help appreciated.

     

    Thank you, regards

    Marcel

×
×
  • Create New...