A checkbox fused with a button
- Oliver Stanton
- Sep 26, 2021
- 1 min read
Updated: Oct 4, 2021
I wanted to finish what I had started months ago with making a UI. Creating a versatile button that also acts as a checkbox, so 2 in 1. I decided to make this task easier by having a theme of hacker, cyber-ish blue, black, white, green style. Because of this incredibly simple look, it was much easier to create the basic functionality, and leaves me with a working knowledge of how to create another one of these button checkbox widgets in the future if needed on something more complex.
Just because I like being able to edit everything whenever I want, I make a bunch of public variables that linked up to certain properties of the components within the button so that anyone can edit them in another widget so customise the look of the button.
Also, just to show the versatility of this, I made a tab system with them:



Comments