You can do it in GWT 1.6+ with:

Window.addResizeHandler(new ResizeHandler() {
    @Override
    public void onResize(ResizeEvent event) {
         <put your code here>
    }
});

or in GWT prior 1.6 with:

Window.addWindowResizeListener(new WindowResizeListener() {
    @Override
    public void onWindowResized(int arg0, int arg1) {
         <put your code here>
    }
});

On Thu, Jan 7, 2010 at 7:56 AM, mariyan nenchev
<nenchev.mari...@gmail.com>wrote:

> Hi,
>
> I have one popup that has absolute positioning. It is positioned according
> some other widget which is not absolute. But when i resize the browser the
> popup must be repositioned.
> Is it possible to listen for such resize event?
>
> Regards.
>
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to