dragec
1 Sep 2011, 11:04 PM
Hi all. In next example, I have one tab panel with 2 tabs. First one also has docked items at bottom:
app = new Ext.Application({
launch : function() {
tabPanel = new Ext.TabPanel({
xtype : "tabpanel",
id : 'tabpanel',
layout: 'card',
renderTo : Ext.getBody(),
fullscreen : true,
activeTab : 0,
layoutOnTabChange : true,
items : [
{iconCls:"minus",
iconMask: true,
dockedItems: [{
dock : "bottom",
xtype : "toolbar",
ui : "dark",
items:[
{
iconCls:"minus",
iconMask: true
},{
iconCls:"plus",
iconMask: true
}
]
}]
},
{
title: 'tab2',
iconMask: true,
iconCls: "plus"
}]
});
}
});
I want to have icons (minus icon) instead of Tab title, but they don't appear. Icons for docked items in first tab work ok, they are shown.
So, is it possible to have icons instead of tab title?
app = new Ext.Application({
launch : function() {
tabPanel = new Ext.TabPanel({
xtype : "tabpanel",
id : 'tabpanel',
layout: 'card',
renderTo : Ext.getBody(),
fullscreen : true,
activeTab : 0,
layoutOnTabChange : true,
items : [
{iconCls:"minus",
iconMask: true,
dockedItems: [{
dock : "bottom",
xtype : "toolbar",
ui : "dark",
items:[
{
iconCls:"minus",
iconMask: true
},{
iconCls:"plus",
iconMask: true
}
]
}]
},
{
title: 'tab2',
iconMask: true,
iconCls: "plus"
}]
});
}
});
I want to have icons (minus icon) instead of Tab title, but they don't appear. Icons for docked items in first tab work ok, they are shown.
So, is it possible to have icons instead of tab title?