-
FEATURED COMPONENTS
First time here? Check out the FAQ!
<grid> <rows> </rows> </grid>
In my composer I am creating row and adding panel to those row (4-5 panel per row). Inside panel I am embedding JSChart (I am showing 40 real time charts around per screen {with excellent performance :) } ).
Problem is, when I drag one panel and tries to drop on the another panel , it is only able to be dropped at the corner of the image (assume panel has 4px padding to the images , so a corner of panel is being shown, so I am able to drop only to the part of panel which is visible and not a more elegant drop where I am dropping over the image which is inside the panel itself). I not sure If I am clear?
A small code snippet.
Panel panel = new Panel(); panel.setDraggable("ccol"); panel.setDroppable("ccol"); Panelchildren pc = new Panelchildren(); pc.setParent(panel); pc.appendChild(new Image(new AIimage("....")); panel.addEventListener(.....);
i think you need to add Droppable to the image
Asked: 2011-05-15 00:24:03 +0800
Seen: 298 times
Last updated: Jul 10 '11