0 Replies Latest reply on Jan 23, 2009 10:20 AM by (Evtim_Georgiev)

    [svn] 4645: Fix bug http://bugs.adobe.com/jira/browse/ SDK-18714 minWidth & minHeight not respected for GraphicElements (Ellipse, etc.)

    Level 1
      Revision: 4645
      Author: egeorgie@adobe.com
      Date: 2009-01-23 10:20:18 -0800 (Fri, 23 Jan 2009)

      Log Message:
      Fix bug http://bugs.adobe.com/jira/browse/SDK-18714 minWidth & minHeight not respected for GraphicElements (Ellipse, etc.)

      The fix is to make sure measureWidth and measuredHeight for GraphicElement are restricted by the explicit min/max limits during the measure phase, the same way it works for UIComponent. This also resulted in a small change to Path, since there we were assuming the measuredWidth and measuredHeight were the natural bounds of the Path.

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-18714
      Reviewer: Ryan
      tests: mustella(layout), checkintests

      Ticket Links:

      Modified Paths:
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s