0 Replies Latest reply on Apr 7, 2010 5:05 PM by Carol L. Frampton

    [svn:fx-4.x] 15270: remeasureText() should not remeasure if the text is constrained in both directions.

    Carol L. Frampton Level 2

      Revision: 15270

      Revision: 15270

      Author:   cframpto@adobe.com

      Date:     2010-04-07 17:05:48 -0700 (Wed, 07 Apr 2010)

      Log Message:

      ***********

      remeasureText() should not remeasure if the text is constrained in both directions.  Determine if the text is constrained by using the values passed to setLayoutBoundsSize() rather than comparing with the measured values.  Before this change the code did not recognize a constrained value if it was the same as the measured value.

       

      QE notes:

      Doc notes: None

      Bugs:  SDK-25423

      Reviewed By: Gordon

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

          flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RichEditableText.as