PDA

View Full Version : Borderlayout region collapse config



Joe Kuan
25 Nov 2010, 7:20 AM
Hi,

I try to create a Borderlayout that starts up with a collapsed west region. However, I don't know why there is no 'collapse' in the config properties, or method to make it collapse.

Is there a way to start in collapsed mode?

Thanks in advance
Joe

Condor
25 Nov 2010, 7:39 AM
The config option is called 'collapsed' and not 'collapse'.

Joe Kuan
25 Nov 2010, 7:47 AM
Hi,

I thought there is no collapsed option because it is not in the reference manual of Ext.layout.BorderLayout.Region. Am I looking the wrong one?

Thanks
Joe

Condor
25 Nov 2010, 7:57 AM
Yes, but you're not really configuring a Region, you're configuring a Panel (and since it's also in a BorderLayout it can also contain config options from Region).