0 Replies Latest reply on Oct 27, 2009 5:07 PM by rfrishbe

    [svn:fx-trunk] 11211: Fixing a fall-out from the DefaultItemRenderer change .

    rfrishbe Level 3

      Revision: 11211

      Author:   rfrishbe@adobe.com

      Date:     2009-10-27 17:07:30 -0700 (Tue, 27 Oct 2009)

       

      Log Message:

      ***********

      Fixing a fall-out from the DefaultItemRenderer change.  When labelDisplay comes on-board, we should check to see if the label property has been set, and push it down in there if it has.  We need this because the labelDisplay isn't created until createChildren() time, which happens when the component is first validated, but for some scenarios, the component may not be on-screen at the time we set the label property.  Also, itemIndex needs to be "cloned" in the drag'n drop scenario.

       

      QE notes: -

      Doc notes: -

      Bugs: SDK-23867

      Reviewer: Evtim

      Tests run: checkintests, mustella List, DataGroup, DropDownList, ListDragDrop

      Is noteworthy for integration: No

       

      Ticket Links:

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

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

       

      Modified Paths:

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

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDrag Proxy.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as