外层是tabPanel   默认打开一个panel
1、怎样设置这个打开的panel自适应外层tabPanel的高度?
也就是说我想内层的panel自动铺满整个屏幕?
我现在的代码是这样的:id:'contextWindow',
activeTab:0,
margins:'0 5 5 0',
resizeTabs:true,
autoHeight: true,
tabWidth:100,
minTabWidth: 120,
enableTabScroll: true,
hideMode:'offsets',
closable:true,
autoTabs:true,
layoutOnTabChange:true,
items: {
id:'firstPage',
xtype:'panel',
layout:'fit',
border:false,
title:'百度',
hideMode:'offsets',
html:'<iframe width="100%" height="100%" src="http://www.baidu.com"/>'
}
想问一下要怎么改?