Hybrid View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
    shineliu is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Answers
    124
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    You can try any of the following methods to change the background color:-
    1. Try to change background from dom, as an example:-
    Code:
    YourComponent.getTopToolbar().getEl().dom.style.background = 'red';
    2. Override 'background-color' in css and do not forget to add !important
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      1  

    Default


    This also works:

    Code:
    {
        xtype: 'toolbar',
        style: {
          background: 'red'
        },
        <...>
    }

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Location
    New Delhi, India
    Posts
    9
    Vote Rating
    0
    logicnext.pramod is on a distinguished road

      0  

    Default Try this.....

    Try this.....


    set ur config style like this...{ xtype: 'toolbar', style: { "background": "your color" }, <...>}

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar