EXTJS无线电组背景颜色为白色
我正在尝试将我的广播组的背景颜色设置为。但是,以下代码的背景色仍为白色:EXTJS无线电组背景颜色为白色,extjs,radio-button,radio-group,Extjs,Radio Button,Radio Group,我正在尝试将我的广播组的背景颜色设置为。但是,以下代码的背景色仍为白色: xtype: 'radiogroup', hideLabel: true, id: 'rtse1', disabled: true, width: 255, bodyStyle: 'background-color: #DDE5E9;', style: 'padding-left:85px', items: [ {boxLabel: 'Static', name: 'rb-auto17', inputValue: '
xtype: 'radiogroup',
hideLabel: true,
id: 'rtse1',
disabled: true,
width: 255,
bodyStyle: 'background-color: #DDE5E9;',
style: 'padding-left:85px',
items: [
{boxLabel: 'Static', name: 'rb-auto17', inputValue: 'Y', checked: true},
{boxLabel: 'Default', name: 'rb-auto17', inputValue: 'N'}
]
有没有办法解决这个问题。非常感谢你的帮助
谢谢。
车身风格
不是收音机组的配置,它不扩展面板。相反,您应该只设置样式
配置或cls
属性,并通过css进行设置。应用于放射组的样式
未正确应用。
所以我应用了cls
(正如@EvanTrimboli建议的那样)
在css文件中:
.custom_group .x-panel-body{
background-color: #DDE5E9;
}
.custom_group .x-panel-body{
background-color: #DDE5E9;
}