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 just change the height, it also messes with the
width. Moreover, I would like to keep this resizing functionality
within GWT Java code (this uses JSNI).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---