How to set the colour of the outline on a textbutton?

I would like to set the colour of the outline on a textbutton to same as the background or transparent to make the outline disappear.

I have set other outlines with lookAndFeel very easy like this:
getLookAndFeel().setColour(juce::Slider::ColourIds::textBoxOutlineColourId,
juce::Colour(0.0f, 0.0f, 0.0f, 0.0f));

Can I do the textbutton in a similar way?

1 Like

Hi,
I think one trick might be to use a label instead of a textbutton