extjs radiogroup checkbox 浏览器间兼容性
来源:互联网 发布:监控画面 分析软件 编辑:程序博客网 时间:2024/06/06 00:45
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',id:'audition',inputValue: 2,checked:true,listeners:{check:function(r,checked){if(checked){ Ext.getCmp('release').setDisabled(false);}else{ Ext.getCmp('release').setDisabled(true); Ext.getCmp('release').setValue(false);}}}},{boxLabel: '审核未通过',name:'audition',inputValue: 3,checked:false}] }] },{ columnWidth:.5, layout:'form', labelWidth:90, labelAlign:'right', items:[{ xtype:'checkbox', id:'release', name:'release', fieldLabel: '审核通过并发布', labelStyle:'white-space:nowrap;', width:60 }] }]},{ xtype:'textarea', fieldLabel:'审核意见', labelAlign:'right', id:'auditReason', name:'auditReason', anchor:'70%', maxLength:512, msgTarget:'side'}]});
0 0
- extjs radiogroup checkbox 浏览器间兼容性
- Extjs radiogroup
- Extjs radiogroup
- RadioGroup RadioButton ,checkBox ,menu
- Button、CheckBox、RadioGroup
- RadioButton RadioGroup CheckBox
- RadioGroup与CheckBox
- 如何使用RadioGroup CheckBox
- RadioGroup和CheckBox
- Extjs radiogroup 获取选中
- extjs radiogroup 动态选中
- 浏览器兼容性
- 浏览器兼容性
- 浏览器兼容性
- 浏览器兼容性
- 浏览器兼容性
- 浏览器兼容性
- 浏览器兼容性
- 分享ISTQB培训体验
- Asp.Net MVC4入门指南(4):添加一个模型
- 预定义宏的使用
- iOS 图形编程汇总
- 我看TechEd 2012之技术热点
- extjs radiogroup checkbox 浏览器间兼容性
- iOS之ASI和AFN有什么区别
- 我看TechEd 2012之App时代降临
- 古城钟楼微博:葡萄城程序员演练技术的产物
- Asp.Net MVC4入门指南(5):从控制器访问数据模型
- Asp.Net MVC4入门指南(6):验证编辑方法和编辑视图
- WinRT开发语言的功能和效率
- 2013 ACM/ICPC Asia Regional Chengdu Online 1004 Minimum palindrome
- Asp.Net MVC4入门指南(7):给电影表和模型添加新字段