CheckButton when pressed leaves a visible outline (video included)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By oohdee

How can I remove this blue outline when I click on the button?

Maybe because the button is in focus? What if you change the focus (via code) after it’s clicked?

godot_dev_ | 2023-04-21 13:06

Oh, so it was focus. Thanks I found set enabled_focus_mode option and disabling it solved my problem.

oohdee | 2023-04-21 14:35

:bust_in_silhouette: Reply From: bamboo_river_kid

Click on the button node → Theme Overrides → Styles.

Click the all “empty” slots and change them to “StyleBoxEmpty”.