想让复选框的勾选框靠左显示(现在是居中的),查找了很多资料,也没搞定。{
                         xtype:'checkbox',
                         id:'isSpecialCheckTF',
                         name:'isSpecialCheck',
                         width:250,//宽度
                         height:compHeight,
                         align:'left',
 fieldLabel:'是否需特殊校验',
 checked: false,
 disabled:false
                      }

解决方案 »

  1.   

    ext没用过,不过看样子这个布局估计是一个表格,那你可以用firefox查看一下元素,改一下那个单元格的对齐方式就行了
      

  2.   

    设置layout 和anchor的值吧
    {xtype:'panel',border:false,html:'性别',bodyStyle:'padding:0px 20px 0px 40px'},
    //第二列
    {layout:'form',columnWidth:.15,border:false,items:[
    {xtype:'checkbox',hideLabel:true,boxLabel:'男',name:'text1-2',anchor:'90%'}
    ]},
    //第三列
    {layout:'form',columnWidth:.15,border:false,items:[
    {xtype:'checkbox',hideLabel:true,boxLabel:'女',name:'text1-3',anchor:'90%'}
    ]}
    我这样没问题的
      

  3.   

    在 items 中增加 labelAlign : 'left'