PDA

View Full Version : Problem/Bug: Dragging a Component in a center container messes up the coordinates...



simonwidjaja
18 Jan 2012, 5:56 AM
Hi,
I have a two column layout. The center Panel has a x offset of 200px. This Panel has a Component which is draggable. So far so good. When starting to drag the Component it jumps 200px to the right. It seems to me that it doesn't translate the global position of the mouse cursor to the local coordinates of the parent panel. (The 0/0-point of the containing Panel ist NOT equal to the global 0/0-point of my Ext App).
Am I just missing some config to translate those coordinates right or is it kind of a bug?

Thanks in advance!
Simon

mitchellsimoens
18 Jan 2012, 6:43 AM
What Ext JS 4 version are you using? Simple test case?

simonwidjaja
18 Jan 2012, 7:00 AM
Version: Ext 4.0.7-gpl

I attached a Screenshot that shows the problem.

IQEd
27 Mar 2012, 3:24 PM
I am using the same version and have the same problem.