0 Replies Latest reply on Jun 10, 2009 12:10 PM by Evtim Georgiev (Adobe)

    [svn:fx-trunk] 7724: Fix bug http://bugs.adobe.com/jira/browse/ SDK-19018 Canvas causes a spark component to shrink to its minimum size upon setting the left and right styles .

    Evtim Georgiev (Adobe) Level 2

      Revision: 7724

      Author:   egeorgie@adobe.com

      Date:     2009-06-10 11:51:27 -0700 (Wed, 10 Jun 2009)

       

      Log Message:

      ***********

      Fix bug http://bugs.adobe.com/jira/browse/SDK-19018 Canvas causes a spark component to shrink to its minimum size upon setting the left and right styles.

       

      Fix: During measurement always take the preferred size into account instead of the minimum size. Preserve the legacy behavior in compatibility mode.

       

      Doc Notes: None

      Bugs: SDK-19018

      Reviewer: Deepa

      tests: checkintests, mustella (canvas)

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayou t.as