我想将默认的三角形切换图标更改为“+”/“-”
.legendFieldSet {
border-width: 0px;
margin-bottom:10px;
}
.legendFieldSet .x-tool-toggle{
background-position: 0 -255px !important; /*the minus sign*/
}
.legendFieldSet .x-panel-collapsed .x-tool-toggle{
background-position: 0 -240px !important; /*the plus sign*/
}
(演示 here 。)
我的东西有什么问题吗?
最佳答案
主题 ExtJS 的正确方法是修改和构建其 SASS。这样你的 CSS 就会保持干净且易于管理。有关编译 SASS 的更多信息,请访问 http://www.sencha.com/learn/theming/
关于extjs - 如何更改字段集切换图标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9670112/