tbar居右显示的两种方法

第一种 tbar: [{ xtype: "tbfill" }, {
                      xtype: 'button',
                      text: '新增'
        
      }, {
                      xtype: 'button',
                      text: '修改'
          
      }, {
                      xtype: 'button',
                      text: '删除'
          
                  },
              ]
这个属性 xtype: "tbfill" 
第二种
toolbar.add(
    {
        text:"Foo"
    }, 
    "->",
    {
        text:"Bar"
    }
);
这个属性"->"
原文地址:https://www.cnblogs.com/tangdacheng/p/4269436.html