PDA

View Full Version : Show Scrollbars When Window is Too Big for Screen



weazelb0y
31 Aug 2009, 8:54 AM
Is there a way to show scrollbars when a Window or DialogBox is too big for the screen? On some very low resolution monitors the entire Window won't fit inside the browser and they cannot see buttons on the bottom of the Window to save/cancel.

Any thoughts on a solution for this?

Thanks

Arno.Nyhm
1 Sep 2009, 5:15 AM
you can set the height of the window manualy and change the scrollbars with

window.setScrollMode(...)

http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/ScrollContainer.html#setScrollMode(com.extjs.gxt.ui.client.Style.Scroll) (http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/ScrollContainer.html#setScrollMode%28com.extjs.gxt.ui.client.Style.Scroll%29)