View Full Version : how to control host browser resizing in gxt

22 Jul 2010, 2:46 AM
I want to restrict user from resizing the browser once it opens with the gxt application. The problem is when the user resizes the browser, the fields in the application get distorted.
How can I disable the resizing of the browser and ensure the browser is always maximized.?

22 Jul 2010, 2:51 AM
Also if the browser is always maximized, there are so many different screen resolutions out there, that his is just no solution.

YOu should make your layout to size according to the available size.

22 Jul 2010, 3:06 AM
I am actually doing that but the grid panel is not getting resized properly, some of the fields are not even shown on the screen, nor does a scroll comeup eventhough setScroll is called on the panel.

22 Jul 2010, 5:42 AM
Most browsers these days, by default, block JavaScript from disabling browser resizing..