Results 1 to 7 of 7
  1.    #1  
    Hi all,
    By default Mojo's widget are set to dark text on a light background.
    Mojo's widget such as "palm-group"
    How can i change color of this widget ?

    Thanks for your help.
  2.    #2  
    As nobody reply to my question and as i found the solution, i reply to myself

    There are many ways to set a color and mainly a dark color (in appinfo.json, into css file, in html , ...)

    One on these is to enter in the setup of the first scene displayed:
    $$('body')[0].addClassName('palm-dark');

    Hope this helps
  3. #3  
    When I try to change the background-color attribute of the "palm-group" class, it changes the color; however, the color background is rectangular. Is there any way to change the background color of a palm-group and keep the rounded corners?
  4. Tibfib's Avatar
    Posts
    345 Posts
    Global Posts
    347 Global Posts
    #4  
    Quote Originally Posted by DanPLC View Post
    When I try to change the background-color attribute of the "palm-group" class, it changes the color; however, the color background is rectangular. Is there any way to change the background color of a palm-group and keep the rounded corners?
    Have you tried modifying the palm-group.png image?
  5. #5  
    I just figured it out. If you add the following to your CSS file, it works:

    Code:
    .palm-group {
    	background-color: <insert desired background color here>;
    	-webkit-border-radius: 15px;
    }
  6.    #6  
    Good tip DanPLC .
    And how to change the color of the borders ?
    .
  7. DrewPre's Avatar
    Posts
    818 Posts
    Global Posts
    829 Global Posts
    #7  
    A lot of the answers are located here....

    C:\Program Files\Palm\SDK\share\samplecode\samples

Posting Permissions