1
我在有tbar的extJS中製作了一個面板。我想更改tbar中項目的顏色和樣式。具體而言,我希望「報告管理器」的顏色爲藍色,並且應該加下劃線。如何在extJS中更改tbar的文本顏色和樣式?
function panelReports(){
Ext.create('Ext.panel.Panel', {
layout: {
type: 'auto',
align: 'left'
},
renderTo: document.body,
tbar: [
{
enableToggle: true,
text: 'Report Manager',
scope : this,
handler : treeReportManager
}]
});
}
你試過用您的TBAR項目風格配置選項? – mindparse 2015-02-25 15:54:33
@mindparse如何做到這一點?..對不起,我是新的extJS .. – 2015-02-26 05:57:51
@mindparse我試過樣式配置,它的工作..謝謝 – 2015-03-12 05:43:23