Hi,

I am new to GWT & GWT-EXT

I am using GWT and GWT-EXT. I use absolutepanel inside a GWT-EXT
panel. I use drag and drop. My requirement is to get automatic scroll
when I drop the widgets at the edges of absolutepanel. If I do not set
sizes for GWT-EXT panel (rather mention % size) and no size mentioned
for absolute panel. I do get auto scroll but when drag the drop the
first element I get exception that absolutepanel has zero size.

So as temp solution, I set GWT EXT panel size as 2000, 2000 to
accommodate more number of dnd widgets. Here the problem is when we
scroll absolutepanel towards left or bottom, placing the dropped
widgets at drop location giving me problems.
The way I am calculating x, y coordinates for drop target is, get
screen coordinates from drop event (x, y), deduct absolutepanel
absolute left and absolute  right (say x1 and y2),

I try to place dropped object at x2 = x-x1 and y2=y-y1. This
calculation makes dropped targets placed at wrong position when
absolutepanel is scrolled left.

Any help is appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to