Hybrid View
-
19 Jun 2012 7:30 PM #1
Unanswered: set toolbar's background color
Unanswered: set toolbar's background color
How to change the background-color of the toolbar? i have set the css or style, but it not work
-
19 Jun 2012 10:07 PM #2Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 76
- Answers
- 124
Hi!
You can try any of the following methods to change the background color:-- Try to change background from dom, as an example:-
2. Override 'background-color' in css and do not forget to add !importantCode:YourComponent.getTopToolbar().getEl().dom.style.background = 'red';
sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
20 Jun 2012 4:50 AM #3
This also works:
Code:{ xtype: 'toolbar', style: { background: 'red' }, <...> }
-
20 Jun 2012 5:33 AM #4
Try this.....
Try this.....
set ur config style like this...{ xtype: 'toolbar', style: { "background": "your color" }, <...>}


Reply With Quote