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
<[email protected]>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 [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.
