radiogroup checkbox在ie,firefox,chrome中label与box之间显示空间大小不一致,
在代码中加入:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
radiobox及checkbox代码:
var auditPanel = new Ext.Panel({
layout:'form',
items:[{
autoWidth:true,
autoHeight:true,
layout:'column',
items:[{
columnWidth:.5,
layout:'form',
defaults:{width:200},
items:[{
xtype:'radiogroup',
fieldLabel: '审核',
<span style="color:#ff0000;">labelStyle:'white-space:nowrap;',
labelAlign:'right',</span>
width:170,
items:[{
boxLabel: '审核通过',
name: 'audition'