extjs4  tabpanel引用其他页面panel时border布局高度不能自动适应
代码如下:Ext.create('Ext.Panel', {
     title: 'test',
     id: 'test',
     closable: true,
     layout: 'fit',
     autoLoad: {
          method: 'POST',
          url: a.jsp,
          nocache: true,
          text: "加载中,请稍候……",
          scripts: true
     }
});
Ext.getCmp('Tabpanel').add(panel);
在a.jsp里
Ext.create('Ext.Panel', {
    layout: 'border',
    renderTo: 'divBody',
    items: [{
        region: 'north',
        html: 'Page Title',
        title: 'north'
    }, {
        region: 'center',,
        html: 'Page Title',
        title: 'center'
    }]
});
布局extjs4