FYI, Using the theme constant does the job.

For others that are looking for a universal radio button look and feel, I 
have attached the 2 (on/off) images that provide simple on and off 
rendering.

"RadioButtonThemeConstants.JPG" shows the constants set in the designer.
"radio-button-on-icon.png" & "radio-button-off-icon.png"

Thanks.

On Thursday, March 26, 2020 at 9:23:40 AM UTC-4, Mark Bolduc wrote:
>
> Thanks.
>
> ((DefaultLookAndFeel) 
> UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radio_button_on_icon,
>  
> radio_button_off_icon);
> Solved my issue, however the "DefaultLookAndFeel" class is deprecated, 
> other than using theme constants, is there another class that will 
> perform the setRadioButtonImages found in "DefaultLookAndFeel" ?
>
> Regards
>
> On Wednesday, March 25, 2020 at 11:20:39 PM UTC-4, Shai Almog wrote:
>>
>> Sorry about that. On iOS there's no radio button (in the OS) so we use 
>> check marks to signify radio buttons. 
>> If you have images of the radio button you can use the theme constants:
>> radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, 
>> radioUnselectedImage,  radioSelectedDisFocusImage, radioSelectedFocusImage, 
>> radioUnselectedDisFocusImage and  radioUnselectedFocusImage
>>
>> These are listed here: 
>> https://www.codenameone.com/manual/advanced-theming.html
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a35b5f65-c3a4-4131-8783-ae992dca3f9f%40googlegroups.com.

Reply via email to