Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is it possible to style radio item when its selected?

    Hi, I'm using Smartclient v12.1p_2023-08-16/Pro. I''m currently trying to change the background color for radio item in radiogroup when its selected. Could you please navigate me what properties could i use to do this ? Because in Tahoe skins i found the radio-button png and it looks like set of icons for different button styles. Click image for larger version

Name:	Screenshot 2024-05-29 133312.png
Views:	57
Size:	54.9 KB
ID:	272459

    #2
    Two things:

    1) to use custom radios in Tahoe, you'll need to set RadioGroupItem.useNativeRadioItems to false - you can do that globally with RadioGroupItem.addProperties() before components are created

    2) the icons you showed were actually improved just this past week - you should really update to the latest patched version anyway but, if that's problematic, just take the latest build of 12.1 from smartclient.com/builds and copy the radio-button.png sprite-file. Then, you can further modify that image if you wish.

    Comment

    Working...
    X