Results 1 to 3 of 3

Thread: ColorPalette how to define my own colors ?

  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    4
    Vote Rating
    0
      0  

    Default 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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      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
      0  

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •