Programmatically resize browser window

2009-07-22 Thread Pandaman
For the GWT app I'm developing, I need to programmatically change the height of the browser window. Is there a way to do this in GWT? I've tried the following: public static native void setWindowHeight(final int height) /*-{ $wnd.resizeTo($wnd.outerWidth, height); }-*/; But this does not

Re: Programmatically resize browser window

2009-07-22 Thread Pandaman
Edit: this actually does not interfere with the width of most browsers - it resizes to the previous width and new height. It does mess up the width in my Google hosted mode browser though for some reason. I actually would prefer something that would resize the client area of the browser (i.e.