0 Replies Latest reply on Nov 18, 2009 9:39 AM by Carol L. Frampton

    [svn:fx-trunk] 11943: When remeasuring text for auto-size, set the compositionHeight correctly in the case were the height is constrained but the width is not .

    Carol L. Frampton Level 2

      Revision: 11943

      Revision: 11943

      Author:   cframpto@adobe.com

      Date:     2009-11-18 09:39:35 -0800 (Wed, 18 Nov 2009)

      Log Message:

      ***********

      When remeasuring text for auto-size, set the compositionHeight correctly in the case were the height is constrained but the width is not.

       

      Due to TLF bug, an image embedded in a compiled text flow does not finish loading until InlineGraphicElement.mustUseComposer() is called.  In our textContainerManager_inlineGraphicStatusChangeHandler, when we get the SIZE_PENDING event force the state transition.  Watson bug #2486102 logged against Vellum V2.

       

      Change validateNow() in api calls to validateProperties() because that is really all we need and it reduces the risk of an infinite loop regarding measure/damage/measure/damage/etc.

       

      QE notes:

      Doc notes:

      Bugs: SDK23973, SDK-24288, SDK-23638

      Reviewer: Gordon

      Tests run: checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

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