[flexcoders] Looking to tweak a List control's drop indicator

2009-01-27 Thread Todd
Hello All,
  I'm looking to change the behavior/looks of the drop indicator when
rearranging items in a List control.

  I understand that I can make a new dropIndicatorSkin (which I hope
to do this in Flash).

  However, I'd also like to add some separation between the items in
the list when I drag the item over a potential drop spot.  What would
happen is both the item above and below would shift apart a bit. 
Ideally, the individual items wouldn't change size, but if it made it
easier, they could squash a bit. 

Any suggestions on how to do something like this?  (I'm thinking there
might be an API inside Flex to already deal with this.)

Thanks.



RE: [flexcoders] Looking to tweak a List control's drop indicator

2009-01-27 Thread Alex Harui
The dropIndicator is a simple line showing where the drop will go.

The dragProxy shows a dragImage that is handed into DragManager that shows an 
image of what is being dragged.  In theory, you can replace the dragImage with 
a fancier one that changes somehow.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Todd
Sent: Tuesday, January 27, 2009 9:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Looking to tweak a List control's drop indicator


Hello All,
I'm looking to change the behavior/looks of the drop indicator when
rearranging items in a List control.

I understand that I can make a new dropIndicatorSkin (which I hope
to do this in Flash).

However, I'd also like to add some separation between the items in
the list when I drag the item over a potential drop spot. What would
happen is both the item above and below would shift apart a bit.
Ideally, the individual items wouldn't change size, but if it made it
easier, they could squash a bit.

Any suggestions on how to do something like this? (I'm thinking there
might be an API inside Flex to already deal with this.)

Thanks.