drag and drop - How can I set the draggable area of my Vaadin widgets -


i'm trying create simple dashboard dragable components in , i'm bit stumped on 1 problem. if wrap draggable 'widget' in draganddropwrapper , set layout recieve drag , drop events, 2 things happen don't ui perspective:

  1. the whole area of layout behind, turns blue (for while) when drag things (widgets, files, whatever) on it. how turn off - theme thing?

  2. the entire widget's area draggable - problem if have say, other ui components inside widget respond drag events.

how can set draggable area of widgets? still want entire wrapped component display when drag, want drag occur when drag, say, title bar of widget's panel.

i think workaround time being make small area of widget draggable don't think a) easy or b) nice (because when drag widget draw it's dragable area - title bar, say).

any ideas?

many in advance.

ac


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -