level 1
var uForm = new Ext.FormPanel({
layout : 'form',
baseCls:'x-plain',
labelWidth:60,
border : false,
padding : '15 10 0 8',
defaults : {
anchor : '100%',
xtype : 'textfield'
},
items:[{
name:'loginName',
fieldLabel:'登录账号',
maxLength :20,
allowBlank : false
},{
inputType: 'password',
name:'password',
id:'password',
fieldLabel:'密码',
maxLength :35,
allowBlank : false
}
2014年11月27日 02点11分
7