PDA

View Full Version : Toolbar color and Button iconCls



vcheruk
17 Jul 2013, 12:05 PM
I have a toolbar added to my Grid panel and the default background color for the toolbar is white and the button is light- how do I change the color or background of the toolbar.

Also the Button do not pickup the image configured in the iconCls

Theme used- Neptune

dockedItems: [
{
xtype: 'toolbar',
dock: 'top',
items: [
'->', ,
{
xtype: 'button',
itemId: 'psxlbtn',
text: 'Export Milestone',
iconCls: 'icon-xel',
ui: 'default'
}
]
}
],

slemmon
19 Jul 2013, 12:05 PM
How do you have your icon-xel rule set up?

You can change toolbar color by adding your own CSS rules. What have you tried already?

vcheruk
23 Jul 2013, 7:36 AM
My Iconcls points to an image. To make the toolbar in different color what would be the recommendation