Extjs FieldContainer使表单溢出

Extjs FieldContainer使表单溢出,extjs,Extjs,我使用的是ExtJS5。 我在表单中放置了一个树面板。因为我想要一个带有树的标签,所以我将树放入字段容器,然后将字段容器放入表单中 ...... { xtype:'form', items:[{ xtype:'fieldcontainer', label:'tree', items:[{ xtype:'treepanel', root:{ expanded:false, childre

我使用的是ExtJS5。 我在表单中放置了一个树面板。因为我想要一个带有树的标签,所以我将树放入字段容器,然后将字段容器放入表单中

......
{
  xtype:'form',
  items:[{
    xtype:'fieldcontainer',
    label:'tree',
    items:[{
        xtype:'treepanel',
        root:{
            expanded:false,
            children:[{...}]//This content is big enough to make the tree overflow.
        }
    }]
  ]
}
......
我知道fix height配置可以解决这个问题。但我不想为树或容器提供fix height/maxHeight。我想让它满足浏览器中的整个空间。
有人能帮忙吗

我还尝试了使用百分比值的高度配置。但失败。您是否尝试设置
fieldcontainer
的布局?未尝试布局,这意味着默认情况下它使用容器布局。哪种布局可以解决这个问题?