I have a problem on dragging the widget in form panel.
I have created a TextField widget with a label and text box and it is draggable.
The code is very simple as shown in follow:
However, i can only drag the text box but not the label.
TextField<String> textField = new TextField<String>();
Draggable d = new Draggable(textField);
the label is set in the same widget as the textbox.
What i want to do is both label and text box are able to be dragged
but not both elements are dragged together, but they can be dragged alone.
Can anyone give me some ideas?
Thanks a lot!