addBoolValueInput Button Up-Down state icon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can't tell from the documentation... but is there a suffix I can use in the naming of my icons in the resources folder so I can have a different icons for the Up and Down state of the button? The only examples I can find are:
- -disabled
- -pressed
- -dark
# Create bool value input with button style that has a state.
tab1ChildInputs.addBoolValueInput('buttonState', 'State Button', True, 'resources/button', True)
Ideally I would like it to change from a green tick to a red cross.
Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
RevOps Strategy Manager at Toolpath. New Zealand based.
Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project