如何在复选框和文本(fieldLabel)之间添加空格?
我尝试添加width: 200,
,但它无效
var delete = Ext.create('Ext.form.field.Checkbox', {
itemId : 'deleteMICR',
name: 'deleteMICRDataID',
fieldLabel : 'Delete MICR Data ?' + '<span id = "deleteMICRHelpIconId" ><img src="../static/images/help_icon.png" height="18" class="icon"/></span>',
hidden : true,
width: 500,
listeners: {
render: function(c) {
new Ext.ToolTip({
target: Ext.get('deleteMICRHelpIconId'),
html: 'This is applicable only XXXXXX'
});
}
}
});