PDA

View Full Version : Please help with borderLayout (ext - 1.0 Alpha 3 )



yeah
23 Mar 2007, 12:08 AM
I am tring to make get the south region to resize when the user clicks on a tab.

code:
var search = layout.add('south', new Ext.ContentPanel('search', {title: 'search', closable: true,fitToFrame:true}));

search.on('activate', function(){
alert(1);
var test = layout.getRegion('south');
test.resizeTo(300);

});

THINKS