var bt=new Ext.Window({
tiele:"请点击我",
width:1000,
height:400,
plain:true,
bodyStyle:"padding:5px",
items:[{
layout:"column",
items:[{
columnWidth:0.5,
layout:"form",
defaults:{labelWidth:50
},
items:[{
//layout:"form",
xtype:"textfield",
width:100,
fieldLabel:"姓名",
},{
xtype:"textfield",
width:0.5,
fieldLabel:"年级",
}]
},{
columnWidth:0.5,
}]
}]
})
bt.show()
})
tiele:"请点击我",
width:1000,
height:400,
plain:true,
bodyStyle:"padding:5px",
items:[{
layout:"column",
items:[{
columnWidth:0.5,
layout:"form",
defaults:{labelWidth:50
},
items:[{
//layout:"form",
xtype:"textfield",
width:100,
fieldLabel:"姓名",
},{
xtype:"textfield",
width:0.5,
fieldLabel:"年级",
}]
},{
columnWidth:0.5,
}]
}]
})
bt.show()
})
var bt=new Ext.Window({
tiele:"请点击我",
width:1000,
height:400,
plain:true,
bodyStyle:"padding:5px",
items:[{
layout:"column",
items:[{
columnWidth:0.5,
layout:"form",
defaults:{labelWidth:50},
items:[{
//layout:"form",
xtype:"textfield",
width:100,
fieldLabel:"姓名",
},{
xtype:"textfield",
width:100,
fieldLabel:"年级",
}]
},{
columnWidth:0.5,
}]
}]
})
bt.show()
})