Hi All,

I'm working on the port to 0.8 and have come across an issue that I
can't seem to track down.  I need to be able to enable drag/drop from
one tabview to another.  When the user clicks the tab page button and
drags it, they should be able to drop it in any other tabview.

In 0.7.3 this worked easily by enabling drag/drop directly on the
tabview.  With 0.8, though, it doesn't work as directly.  What I'd like
is for the user to be able to click on the tab view button directly, but
button's don't seem to be draggable in 0.8.

Looking at the qx.ui.form.Button code, inside the _onMouseDown, there's
a call to e.stopPropagation(), which is what disables drag & drop for
buttons.  When I comment this line out (only experimenting), the drag
event is activated but there are lots of side-effects.

I'm on the verge of diving into the Button code to directly add support
for dragging, but I wanted to check first to see if I'm way off track
and there's an easier solution.

Thanks for your help,

-- 
Sincerely,

Mr. Hericus
m...@hericus.com
http://www.hericus.com



------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to