Custom AutoButtonColor Colors

I feel like this should already be an option, considering that we already have something like this for ImaeButtons (HoverImage and PressedImage). Having the ability to easily customize the hover and active colors for buttons with the AutoButtonColor property enabled would be incredibly useful.

This is really more of a QoL feature. Creating custom hover effects isn’t hard, but it can get tedious, especially with buttons that have different states and colors. There are also little things to consider, like what happens if you press a button and then move the mouse away before coming back. The MouseLeave events can mess with the button’s state, which makes it tricky to keep the UI consistent and predictable.

Here is a mockup of how this feature could be implemented:

image

The current functionality has very little uses, especially because it behaves backwards where buttons get darker on hover and brighter when pressed, which isn’t always ideal. This forces us to go through the tedious task of adding custom hover functionality which takes time.

14 Likes

could be extremely useful for quick ui designs, really good idea

5 Likes

i agree, as someone who works with buttons a lot i can see this could save quite the hassle to write a script just to do it

3 Likes