Get rid of focus boxes?


#1

I've googled and searched through the forum but can't find a way to remove the focus boxes on components. Specifically TextEditor and ToggleButtons.


#2

Well 2 seconds after posting I found it for the TextBox, but not ToggleButton.


#3

You could set their colour to transparent in the global LookAndFeel, perhaps?


#4

What are the IDs i need to set?


#5

It'll be different for different types of component and will depend on what the LookAndFeel does, but it's IDs like like TextEditor::focusedOutlineColourId