Whenever I click/focus on one of my toggle buttons a square gets drawn around it. Can I prevent this from happening and if not is there a simple look and feel method I can call to prevent the drawing of the surrounding box?
It’s done in the look and feel, so you can change that to do whatever you like.
That’s what I thought, I just can’t find the correct method to use. drawToggleButton() doesn’t seem to make any reference to the outline box. Actually, what is the correct name for the box that gets drawn around a toggle button, searching for the drawBoxThatGetsDrawnAroundTottgleButton() is coming up blank.
Yeah, it’s right there at the start of LookAndFeel::drawToggleButton().