0 Replies Latest reply on Nov 13, 2009 3:18 PM by Evtim Georgiev (Adobe)

    [svn:fx-trunk] 11803: Fix http://bugs.adobe.com/jira/browse/ SDK-24080 fxg components with RichText report the wrong bounds ( the RichText is not measured correctly)

    Evtim Georgiev (Adobe) Level 2

      Revision: 11803

      Revision: 11803

      Author:   egeorgie@adobe.com

      Date:     2009-11-13 15:17:51 -0800 (Fri, 13 Nov 2009)

      Log Message:

      ***********

      Fix http://bugs.adobe.com/jira/browse/SDK-24080 fxg components with RichText report the wrong bounds (the RichText is not measured correctly)

       

      Problem: Styles and RichText are now initialized after the construction of the SpriteVisualElement, but the SVE measures itself in its c-tor.

      Fix: when the RichText is validates, invalidate the size and re-measure the SpriteVisualElement.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-24080

      Reviewer: Pete, Ryan

      Tests run: None

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java