Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css ExtJS:有没有办法移动tabpanel';s选项卡图标,从选项卡的左至右';谁的头衔?_Css_Extjs_Extjs6 - Fatal编程技术网

Css ExtJS:有没有办法移动tabpanel';s选项卡图标,从选项卡的左至右';谁的头衔?

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

ExtJS是否提供了一种在标题前面显示选项卡标题图标而不是默认行为的方法

默认行为:

---------------
| +  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可以。。。