I would have thought this would be quite simple... alas it seems nothing about ExtJS is simple.
I need to split the 'center' region of a border layout and have both the top and bottom pannels fill the center region when the page resizes.
As it stands, I can only figure out how to set absolute sizes for the panels.
Here's the code generated using ExtJS Gui Builder
/* This file is created or modified with
* Ext.ux.guid.plugin.GuiDesigner (v2.1.0)
*/
{
layout : "border",
items : [ {
region : "center",
title : "map",
items : [ {
xtype : "panel",
title : "Panel",
autoHeight : true,
split : true,
height : 100
}, {
xtype : "panel",
title : "Panel",
autoHeight : true,
split : true,
height : 300
}]
}, {
region : "north",
split : true,
height : 100
}, {
region : "west",
width : 300,
split : true,
collapsible : true,
title : "Gazetter Explorer"
}]
}