2012-10-04 95 views

回答

0

你可以试试这个方法:

this.toolBar = new Ext.Container({ 
     height: 54, 
     layout: 'anchor', 
     xtype: 'container', 
     defaults: { 
      anchor: '100%', 
      height: 27 
     }, 
     items: [ 
      this.toolBar1, 
      this.toolBar2 
     ] 
    }); 

,并把这个容器中的电力网TBAR或BBAR。

+0

感谢您的回复..亚我只使用这种方法。但在这里我们使用一个容器并在该容器中添加组件。我正在寻找的是直接在一个bbar或tbar中添加两个组件。 –