Hello!
How can I change the look&feel of an accordion's header (For example, to increase the font size and color)?
I tried to use the "cls" config, but it did not seem to work, maybe I am doing something wrong. The summary of what I did:
1. add my custom css class and reference it from the main html
2. add the following code to CSS:
Code:
.custom-acc-hd {
color:red;
font-size:20;
}
3. set the "cls" config on an accordion panel to my customized version:
Code:
Ext.define('PP.view.PE', {
extend: 'Ext.container.Container',
layout: {
type: 'accordion',
align: 'stretch',
multi: true
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'panel',
collapsed: true,
cls: 'custom-acc-hd',
title: 'Projects'
},
Unfortunatelly, this does not change anything.
Any ideas?