Ext.onReady(function() {
new Ext.Viewport({
layout : 'border',
items : [{
region : 'north',
height : 50,
title : '顶部面板'
}, {
region : 'south',
height : 50,
title : '底部面板'
}, {
region : 'center',
title : '中央面板'
}, {
region : 'west',
width : 100,
title : '左边面板'
}, {
region : 'east',
width : 100,
title : '右边面板'
}]
});
});