码迷,mamicode.com
首页 > 其他好文 > 详细

tbar居右显示的两种方法

时间:2015-02-03 12:34:53      阅读:96      评论:0      收藏:0      [点我收藏+]

标签:

第一种 tbar: [{ xtype: "tbfill" }, {
                      xtype: ‘button‘,
                      text: ‘新增‘
        
      }, {
                      xtype: ‘button‘,
                      text: ‘修改‘
          
      }, {
                      xtype: ‘button‘,
                      text: ‘删除‘
          
                  },
              ]
这个属性 xtype: "tbfill" 
第二种
toolbar.add(
    {
        text:"Foo"
    }, 
    "->",
    {
        text:"Bar"
    }
);
这个属性"->"

tbar居右显示的两种方法

标签:

原文地址:http://www.cnblogs.com/tangdacheng/p/4269436.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!