Hi all,, Can anybody give any clue on this ?
On Mon, May 24, 2010 at 1:05 PM, Tapas Adhikary <[email protected]> wrote: > I am using GWT 2.0 . In my application , I am using a logic to > randomly/correctly position the pop-up when I click an anchor link. I am > setting the position of the popup using the UiObject's OffsetWidth and > OffsetHeight property. > > I am calling , > > popupPanel.setPopupPositionAndShow( new PopupPanel.PositionCallback() > { > public void setPosition( > int iOffsetWidth, > int iOffsetHeight) > { > // Some code > } > } > The position callback happens from the PopupPanel.java which in turn gets > the offsetHeight and offset width from the UIObject's > public int getOffsetWidth() { > return DOM.getElementPropertyInt(getElement(), "offsetWidth"); > } > > The problem happens when I click on one specific anchor link. The pop-up > width is returned correctly in mozilla but in IE it gives me a huge > value(only for this anchor link, for all the other anchors it gives back the > proper width). > > Is the width of the anchor responsible for this as it only happening for a > particular link and on IE? > Is it a kind of known issue that I am not aware of ? > > Thanks in advance. > > -Tapas > -- 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.
