在你的panel里面的fbar下面或者tbar中放这个按钮,不要直接放上去。

解决方案 »

  1.   

    我其他的都是用x,y控制的,为什么只有这个button不可以啊。
      

  2.   

    把按钮发到一个hbox中:如下:{
          layout: {
             type: 'hbox',
             pack: 'center',
             align: 'middle'             
             },
          items:[{
             xtype:'button',
             text : '回复',
             scale: 'medium',
             handler : function(b ,e){
             }
          }]
         }
      

  3.   

    试试bodyStyle属性,直接写样式,比如:
    bodyStyle:'margin-left:100px;...'
    这个属性是不是这么拼的我忘了。。反正有这么个属性,你再查查把