PDA

View Full Version : Viewport Good Choice?



upperstage
25 Nov 2009, 6:43 AM
I want to create a tall (1500px) page/site and display the browser scrollbar (rather than an inner scrollbar provided by an Ext container) on startup . Should I avoid using a ViewPort?

25 Nov 2009, 6:45 AM
yes, the viewport will only use 100% of the browser's viewport

upperstage
25 Nov 2009, 6:50 AM
Thanks. Do you suggest a Panel? Container? BoxComponent?

25 Nov 2009, 6:53 AM
I don't really know what you're trying to do.

Panel or Container will work. Depending on your requirements

upperstage
25 Nov 2009, 6:59 AM
Thanks.

(In a cryptic way I was asking whether you prefer panel or container or boxComponent when you are looking to create a rather simple container (DIV) into which you plan to add more heavyweight Ext components. I shy away from panels when I don't need a toolbar, innerbody, etc.)

25 Nov 2009, 7:11 AM
Container is what you'll need because it is the lowest level class that implements layouts.

Does that help?

upperstage
25 Nov 2009, 7:14 AM
Indeed it helps; domo arigato! :D

25 Nov 2009, 7:34 AM
dou itashimae

Mike Robinson
25 Nov 2009, 9:26 AM
... Mister Roboto ...