1
如何更改fieldset组件的展开/折叠图标?默认情况下它是一个倒三角箭头,我想将它设置为“+”/“ - ”?使用“itemCls”?extjs:fieldset-change collapse icon
谢谢!
如何更改fieldset组件的展开/折叠图标?默认情况下它是一个倒三角箭头,我想将它设置为“+”/“ - ”?使用“itemCls”?extjs:fieldset-change collapse icon
谢谢!
修改折叠按钮的CSS(这里background-position
)
这里我的CSS:
#plus-min.x-panel-collapsed .x-tool-toggle{
background-position: 0 -240px !important; /*the plus sign*/
}
#plus-min .x-tool-toggle{
background-position: 0 -255px !important; /*the minus sign*/
}
和我的字段集:
new Ext.form.FormPanel({
renderTo : document.body,
title : "asdasd",
items :[{
xtype:'fieldset',
title: 'Plus Minus',
collapsible: true,
id : "plus-min",
html : "asd",
height : 100
}]
});