0 Replies Latest reply on Dec 17, 2009 4:56 PM by Evtim Georgiev (Adobe)

    [svn:fx-trunk] 13090: Fix http://bugs.adobe.com/jira/browse/ SDK-24683 text labels exceeding ButtonBarButton bounds when resizing the Spark ButtonBar control

    Evtim Georgiev (Adobe)

      Revision: 13090

      Revision: 13090

      Author:   egeorgie@adobe.com

      Date:     2009-12-17 16:56:07 -0800 (Thu, 17 Dec 2009)

      Log Message:

      ***********

      Fix http://bugs.adobe.com/jira/browse/SDK-24683 text labels exceeding ButtonBarButton bounds when resizing the Spark ButtonBar control

       

      Problem: The baselinePosition getter calls internal method validateBaselinePosition(), which in turns resizes the component to its explicit or measured actual size if width or height is zero. This is incorrectly functioning, since the size of the component is not restored afterwards.

       

      Fix: Do this auto-changing of the actualSize only if layout has not resized the component yet.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-24683

      Reviewer: Glenn, Corey

      Tests run: checkintests, mustella tests/gumbo/components

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as