0 Replies Latest reply on May 12, 2010 12:11 PM by Carol L. Frampton

    [svn:fx-4.x] 16070: When item renderers that contain RET are recycled, any cached constraints on the RET components are not reset.

    Carol L. Frampton Level 2

      Revision: 16070

      Revision: 16070

      Author:   cframpto@adobe.com

      Date:     2010-05-12 12:11:00 -0700 (Wed, 12 May 2010)

      Log Message:

      ***********

      When item renderers that contain RET are recycled, any cached constraints on the RET components are not reset.  The current layout architecture doesn't give us a way to do that.  The workaround is to reset widthConstraint and heightConstraint to NaN whenever text, content or the textFlow is set, since the new text will need to be remeasured and relayed out anyway.

       

      QE notes: cyclone done

      Doc notes: None

      Bugs:  SDK-26387

      Reviewed By: Hans, Evtim

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

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