1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    4
    Vote Rating
    0
    sbeex is on a distinguished road

      0  

    Default ColorPalette how to define my own colors ?

    ColorPalette how to define my own colors ?


    Hi guys,

    for my project I need to define some specifics colors in component ColorPalette.

    I have seen in GXT 2 some methods like setColors() but what about GXT 3 ? Can we do something arround it ?

    Thank you for your answer !

    Regards,
    sbeex

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    89
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    ColorPalette has a constructor which takes an array of color names and css values to use - does that not work as expected?

    This same idea (though for the cell) is used at http://www.sencha.com/examples/#ExamplePlace:cellgrid and seems to work correctly.

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    4
    Vote Rating
    0
    sbeex is on a distinguished road

      0  

    Default


    Yes it works thank you ! I was looking for a "set" method ^^

Thread Participants: 1

Tags for this Thread