On Sep 5, 8:07 pm, Tanguy Le Barzic <[email protected]> wrote: > Hi, > > I'm trying to set the position of a popup, which should appear below an > element (class com.google.gwt.dom.client.Element) which I get from a > NativeEvent, by doing : > > Element element = Element.as(event.getEventTarget()); > popup.setPopupPosition(element.getAbsoluteLeft(), > element.getAbsoluteTop()+20);
How about trying to mimick PopupPanel#showRelativeTo? http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java#1275 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
