PDA

View Full Version : Draggable contentpanel but using as handle only the header



sempervivo
9 Dec 2010, 8:29 AM
Hello,

What can I do in oreder to be able to move a contentpanel only by using its header as handler and not the entire content panel region ? Right now I set Draggable(content_panel) and even though the drag icon appears only ablove the header of the content panel, I can move it by clicking anywhere on the content panel body.

Thank you very much for your future anwers.

sven
9 Dec 2010, 8:32 AM
new Draggable(content_panel,content_panel.getHeader());

sempervivo
9 Dec 2010, 8:35 AM
wow. it was so hard :)
thank you sven