Hello! I’ve tried my best to search for an answer, but coming up short. Would really appreciate if anyone can point me in the right direction!
I would like to customize the default Toggle (checkbox) control that is provided in UI Toolkit. My goal would be to change the size of the check box element, and insert a custom checkmark graphic in place of the default.
In looking at the docs, Unity mentions the checkmark itself is an image, but isn’t clear on how to replace/swap that image, or if it’s even possible. I have experimented with the :checked pseudo class, but it doesn’t seem to always work 100% depending on what property you use. For example, I can set a background-color property to the checkmark element (and that works) but setting a background-color property on the :checked pseudo class of that same element does not do anything.
Any help would be appreciated! Thank you