system
December 15, 2016, 4:17am
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
Robster
Old Version
Published before Godot 3 was released.
Hi all,
I have checkboxes and checkbuttons and I want to have it so when you select them they don’t get the little dotted outline around them.
I can’t for the life of me find a setting. Is there one or a way to hide it via code for example?
Thanks so much.
system
December 16, 2016, 9:54pm
4
Reply From:
eons
Don’t know if will be possible to change with a theme but you can get rid of that setting the focus mode to NONE
, in the inspector (BaseButton section) or with set_focus_mode
.
https://godot.readthedocs.io/en/stable/classes/class_control.html#numeric-constants
You will lose the navigation between controls that way.
That did it! Thank you for your help again. It makes sense now. It’s your classic keyboard focus outline and disabling it removes that ability. Much appreciated.
Robster | 2016-12-18 23:31
system
February 5, 2019, 6:35am
5
Reply From:
alanparsons
If you assign a control’s Focus style to be something other than the default the blue lines will go away.