Rectangular button


What is the easiest way of make buttons rectangular? Looked like all the buttons in the demo have round edge.


you have the choice between the following solutions:
1- use the Jucer to design one
2- inherit from juce::Button and provide you own paintButton()
3- override drawButtonBackground() in your own custom look and feel

Check out Button::setConnectedEdges(). It won’t make a ‘proper’ rectangular button (edges will have slightly different appearance), but good for a quick job.