Hi All,
I am using popups in my application and I am positioning them at
absolute left and right of some other widget. Now the problem is that
when i resize the window then the relative widget left and right are
changing but the popup is still staying at the old position
Is there anyway I can reposition my popup when I resize the window.
Example:
PushButton someButton= new PushButton(addIcon);
someButton.setWidth(addIcon.getWidth() + "px");
someButton.setHeight(addIcon.getHeight() + "px");
fileListPopupPanel = new PopupPanel();
fileListPopupPanel.setStyleName("BrowserPanel-PopupPanel");
fileListPopupPanel.setAutoHideEnabled(false);
fileListPopupPanel.setPopupPosition(someButton.getAbsoluteLeft(),
(someButton
.getAbsoluteTop() +
(someButton.getOffsetHeight())));
I appreciate your help.
Thanks,
satish
--
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.