ext radio布属问题

hyzhangjun 2008-10-16
下面的单选按钮显示出来是乱的。请各位大吓帮忙看看

var innerForm=new Ext.FormPanel({
  labelWidth: 100,
url:'<%=contextPath%>/member/MemberAction.do?dispatch=create',
frame:true,
bodyStyle:'padding:5px 5px 0',  
                 width: 420,  
                 defaults: {width: 230},  
                 layout:'form',  
                 defaultType: 'textfield',
                 items: [{
                 fieldLabel: '会员名称',
               name: 'NAME',
               allowBlank:false,
               blankText: '会员名称不能为空!'
                 },{
                 fieldLabel: '会员编号',
               name: 'code',
               allowBlank:false,
               vtype:'alphanum',
               blankText: '会员编号不能为空!'
                 },{
                 fieldLabel: '手机号码',
               name: 'mobile',
               allowBlank:false,
               vtype:'mobilephone',
               blankText: '手机号码不能为空!'
                 },{
                 fieldLabel: '会员类型',
               name: 'memberTypeId',
               allowBlank:false,
               blankText: '会员类型不能为空!'
                 },new Ext.form.DateField({
                        fieldLabel: '出生日期',
                        name: 'birthday',
                        width:190,
                        format:'Y-m-d'
                    }),new Ext.form.ComboBox({
                          fieldLabel:'所属上级',
                          name: 'parentId',
                          hiddenName:'parentId',
                          displayField:'name',
                          valueField:'value',
store:parentStore,
typeAhead:true,
mode:'local',
triggerAction:'all',
emptyText:'请选择上级会员',
selectOnFocus:true
}),{
       xtype:"panel",
       layout:"column",
       fieldLabel:'性别',
       labelWidth:1,
       isFormField:true,
       items:[{
             columnWidth:.1,
             xtype:'radio',
             boxLabel:'男',
             name:'sex'
             //inputValue
       },{
             columnWidth:.2,
             checked:true,
             xtype:'radio',
             boxLabel:"女",
             name:'sex'
       }]
   },{
                 fieldLabel: '电话',
               name: 'telephone',
               vtype: 'phone'
                 },{
                 fieldLabel: '身份证',
               name: 'pId'
                 },{
                 fieldLabel: '电子邮件',
               name: 'email',
               vtype:'email',
                            blankText:'E-Mail格式如:yurenzhijia@126.com'
                 }
                 ]
  });
Global site tag (gtag.js) - Google Analytics