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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment