0 Replies Latest reply on Nov 20, 2009 10:59 AM by Jason Szeto

    [svn:fx-trunk] 12056: PopUpAnchor bug fixes

    Jason Szeto Level 3

      Revision: 12056

      Revision: 12056

      Author:   jszeto@adobe.com

      Date:     2009-11-20 10:59:23 -0800 (Fri, 20 Nov 2009)

      Log Message:

      ***********

      PopUpAnchor bug fixes

       

      http://bugs.adobe.com/jira/browse/SDK-24026 - PopupAnchor throws RTE if removed from stage and has no children

       

      Added null check

       

       

      http://bugs.adobe.com/jira/browse/SDK-23541 - DropDownList does not position dropDown correctly if popUpWidthMatchesAnchorWidth is set to "false"

       

      The problem is that when the popUpPosition is set to "left" and the popUp doesn't have an explicit width, its measured size is not updated in time for the popUp to be positioned. The solution is to force a measure pass by calling validateNow on the popUp.

       

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-24026, SDK-23541

      Reviewer: Alex, Glenn

      Tests run: PopUpAnchor, DropDownList, ComboBox

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

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

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

       

      Modified Paths:

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

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