PDA

View Full Version : Icon with Radio or CheckBox instead of Label



eudoxem
30 Aug 2010, 8:00 AM
Hello,

Is there a way to set an icon to a Radio or a CheckBox instead of using a label? I don't want to use label because I want the user to choose a single icon just like the "Post Icons" of this site. I just looking for something like we can do it in a button (btn.setIcon(...)).

Any help will be very appreciated.

Cheers.

sven
30 Aug 2010, 8:01 AM
You can set the "boxlabel" as html formated string. This string could be the markup for an icon.

eudoxem
31 Aug 2010, 2:03 AM
Thanks