0 Replies Latest reply on Dec 23, 2009 7:34 AM by Carol L. Frampton

    [svn:fx-trunk] 13194: RichText needs to recompose if the contentHeight isn' t the same as the unscaledHeight since the content height could be an estimated height which doesn 't all the text lines composed yet to back up that height.

    Carol L. Frampton Level 2

      Revision: 13194

      Revision: 13194

      Author:   cframpto@adobe.com

      Date:     2009-12-23 07:34:01 -0800 (Wed, 23 Dec 2009)

      Log Message:

      ***********

      RichText needs to recompose if the contentHeight isn't the same as the unscaledHeight since the content height could be an estimated height which doesn't all the text lines composed yet to back up that height. 

       

      baselinePosition should always return a non-0 value, even if there are no text lines so that components that use the baseline for positioning, such as ButtonBar, don't jump around when the width of the component is changed.

       

      QE notes:

      Doc notes:

      Bugs: SDK-24750, SDK-24773

      Reviewer: Gordon

      Tests run: checkintests, cyclone on Label, RichText

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/non-0

          http://bugs.adobe.com/jira/browse/SDK-24750

          http://bugs.adobe.com/jira/browse/SDK-24773

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as