Css ExtJS:有没有办法移动tabpanel';s选项卡图标,从选项卡的左至右';谁的头衔?
ExtJS是否提供了一种在标题前面显示选项卡标题图标而不是默认行为的方法 默认行为:Css ExtJS:有没有办法移动tabpanel';s选项卡图标,从选项卡的左至右';谁的头衔?,css,extjs,extjs6,Css,Extjs,Extjs6,ExtJS是否提供了一种在标题前面显示选项卡标题图标而不是默认行为的方法 默认行为: --------------- | + Tab 1 | --------------- 所需行为: --------------- | Tab 1 + | --------------- 代码示例: Ext.create('Ext.tab.Panel', { plain: true, items: [{ title: "Tab 1", iconCls: "icon-c
---------------
| + Tab 1 |
---------------
所需行为:
---------------
| Tab 1 + |
---------------
代码示例:
Ext.create('Ext.tab.Panel', {
plain: true,
items: [{
title: "Tab 1",
iconCls: "icon-class-plus",
}, {
title: "Tab 2",
}],
renderTo: Ext.getBody()
});
icon class plus是一个CSS类,它包含&:after伪元素,用于设置加号的图示符图标 使用
iconAlign
配置:
Ext.application({
name: 'Fiddle',
launch: function () {
Ext.create('Ext.tab.Panel', {
items: [{
title: "Tab 1",
iconCls: "x-fa fa-car",
iconAlign: 'right'
}],
renderTo: Ext.getBody()
});
}
});
是哪一个?Ext4还是Ext6?Ext6可以。。。