PDA

View Full Version : Horizontal only Viewport



Keith Chadwick
27 Jan 2010, 11:57 AM
The answer to this is probably no but I am wondering if I can force the viewport to allow for vertical expansion but manage horizontal sizing only.

Thanks in advance
Keith

Animal
27 Jan 2010, 12:17 PM
You mean an hbox layout?

Keith Chadwick
27 Jan 2010, 12:35 PM
Correct me if I am wrong Animal but that still exists within the viewport which maintains the overall viewing area within the browser window and precludes and browser scroll bars. What I am looking for is to allow the vertical scroll bar in the browser to behave as usual but have Ext manage the resize of containers on the horizontal axis only, for example ensure a grid is re-rendered when the browser is resized. I recognize that when you use a viewport ExtJS does this for you but I only want it to do it on the horizontal. In other words ensure we never get a browser horizontal scrollbar but ignore the height of the page.

Animal
27 Jan 2010, 10:35 PM
So maybe layout: 'column' then?