color de radio seleccionado

  1. #1

    color de radio seleccionado

    Hi !

    How can I change the color of the selected radius point?

    thanks!
  2. #2
    Hello @JCarlosF!

    Change the color of the selected radius point of what? By chance you can see any of this in one of the examples at our examples explorer?
  3. #3
    Click image for larger version. 

Name:	imgRadio.PNG 
Views:	5 
Size:	1.1 KB 
ID:	25506

    in attached image, for example the selected radio 'Inactivo' has a gray color, how can I change it color?

    thanks
  4. #4
    Hello @JCarlosF!

    In this case the radio ballots are actually an image composite of sprites. This is going to require a little more elaborate CSS skills to handle.

    In summary you need to:

    1. download the referred image sprite file by its CSS setting (/extjs/packages/theme_crisp/build/resources/images/form/radio-png/ext.axd)
    2. edit it in an image editor to make it look the way you want it to
    3. place it somewhere in your webpage
    4. override the css to point to the customized file, something like:

    .my-field-style .x-form-radio-default {
        background: url(path-to/my-custom-radio-sprite.png) no-repeat;
    }
    I think there are some CSS rules to set/colorize the image, it could be used to change the base color of the displayed image when and not hovered by the mouse pointer, without the need to download and edit the current image. But again, that's an advanced CSS topic and specific CSS skills are necessary to delve into this kind of customization.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 2
    Last Post: Aug 21, 2015, 7:09 AM
  2. Replies: 4
    Last Post: Sep 25, 2012, 10:20 AM
  3. Change Radio button label color
    By Elie.fakhry in forum 1.x Help
    Replies: 5
    Last Post: Sep 23, 2010, 11:54 PM
  4. Retrieve checked radio from Radio Group
    By ttharaka2002 in forum 1.x Help
    Replies: 0
    Last Post: Mar 25, 2010, 3:15 AM
  5. [CLOSED] Dynamic Creation of Radio Buttons within Radio Group
    By Steve in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 04, 2009, 2:13 PM

Posting Permissions