I created a window that contains a border layout much like the example found in the API documentation under BorderLayout. I want to put a vertical scrollbar on the Panel - not in not each region. It's easy enough for each region to have it's own scrollbar but that's not what I need. 26. Examples for Section 8:: For the moment, just accept this as a way of timing; we will meet threads BorderLayout. BorderLayout is the default layout manager for all Windows, http://www.ph.ed.ac.uk/~graeme/PoPC/node31.htmlHOME |
The only way I can think of doing this is to put the BorderLayout Panel inside another Panel and put a scrollbar on the enclosing panel. I believe this will work but it seems like there must be an easier way.
Any suggestions?
Thanks,
var border = new Ext.Panel({
title: 'Border Layout',
layout:'border',
items: [{
title: 'South Panel',
region: 'south',
height: 100,
minSize: 75,
maxSize: 250,
margins: '0 5 5 5'
},{
title: 'West Panel', Scroll bar does not retain its position after or before pack :: 14 posts - Last post: Jul 23, 2007I forgot to mention, the correct way would be to access the I tried it with BorderLayout and I still cannot reproduce your problem. http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=015921HOME | Welcome to the Custom Script home:: This guide isn’t the best in the world and I appreciate that. < SlideShowWithAd ID=Atom(AdBanner) Layout=BorderLayout() Padding=Rect(0,0,0,3) http://www.another-site.net/adam/MySkin/Tutorial.phpHOME |
region:'west',
margins: '5 0 0 5',
cmargins: '5 5 0 5',
width: 200,
minSize: 100,
maxSize: 300
},{
title: 'Main Content',
region:'center',
margins: '5 5 0 0'
}]
});
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|