The PopupPanel doesn't auto-recenter.  You can keep it centered using the
following:

final PopupPanel Popup = new PopupPanel();
Popup .center();
Window.addResizeHandler(new ResizeHandler() {
  public void onResize(ResizeEvent event) {
    Popup .center();
  }
});

Thanks,
John LaBanca
[email protected]


On Mon, Oct 18, 2010 at 5:18 AM, Gurunathan <[email protected]>wrote:

> Hi,
>
> I have a Popup Panel.
> PopupPanel Popup = new PopupPanel();
> Popup .center();
>
> It gets displayed correctly. But when I resize the browser when the
> Pop-Up Panel is displayed, the Pop up panel either disappears/it is
> behind the browser.
>
> Please help me solve this issue.
>
> Thanks in advance
> Guru.
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to