I’m trying to change all project check boxes to use a different icon without much success. I’m also referencing to the solution you gave me for power tables Icon won’t show in boolean column - Ignition - Inductive Automation Forum
from javax.swing import BorderFactory, ImageIcon
cbIcon = ImageIcon("Builtin/icons/16/check2.png")
UIManager.put("CheckBox.icon",cbIcon)
if event.propertyName == 'selected':
from javax.swing import JLabel, ImageIcon
cbIcon = ImageIcon("Builtin/icons/16/check2.png")
checkbox = event.source
checkbox.setIcon(cbIcon)
I also tried altering the UIM key on toggle buttons but that didn’t work either
PMICheckBox (ignition 7.9.5 API) (inductiveautomation.com)
What am I missing here?