Я бы подумал, что это будет довольно просто. увы, в ExtJS, похоже, нет ничего простого.
Мне нужно разделить область center
макета границы, и верхняя и нижняя области panels
заполняют область center
при изменении размера страницы.
В нынешнем виде я могу только выяснить, как установить абсолютные размеры для панелей.
Вот код, сгенерированный с помощью 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"
}]
}