Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JorensM |
Hello, I’m trying to make a custom button style, and I don’t know how to remove the outline when the button is clicked. Please help, thanks!
Pic:
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JorensM |
Hello, I’m trying to make a custom button style, and I don’t know how to remove the outline when the button is clicked. Please help, thanks!
Pic:
Reply From: | Calinou |
You can do this by assigning a StyleBoxEmpty to the button’s Focus style (either in the theme or in the button’s Custom Styles). However, consider accessibility when doing so, as removing the focus outline makes the GUI no longer accessible to keyboard/controller-only users.