0 Replies Latest reply on Apr 26, 2010 12:44 PM by Carol L. Frampton

    [svn:fx-4.x] 15707: Two changes to RichEditableText' s setLayoutBounds override:

    Carol L. Frampton Level 2

      Revision: 15707

      Revision: 15707

      Author:   cframpto@adobe.com

      Date:     2010-04-26 12:43:51 -0700 (Mon, 26 Apr 2010)

      Log Message:


      Two changes to RichEditableText's setLayoutBounds override:

      1)  widthConstraint and heightConstraint should be reset in setLayoutBounds() rather than updateDisplayList().  setLayoutBounds() is only called when the measured size changes which means that it is not necessarily called before each call to updateDisplayList().  Recycled item renders exposed this flaw.

      2) Should be setting widthConstraint and heightConstraint each time to either NaN or the value of the constraint regardless of the value of autoSize.


      QE notes:

      Doc notes: None

      Bugs:  SDK-26298, SDK-26178

      Reviewed By: Gordon

      Tests run: checkintests

      Is noteworthy for integration: No


      Ticket Links:





      Modified Paths: