Standard look & feel buttons aspect


#1

Hello Jules,
I am a little puzzled by the appearance of the three lowest buttons in the attached picture, taken from the Jucer. For reference, the top button is “connected bottom”, the middle two are both “connected top” and “connected bottom” while the bottom one is “connected top”. The dark side stripes seem wrong…


#2

Yeah, that does look a bit wrong! How about this tweak, in juce_LookAndFeel.cpp, 3100:

const float leftIndent = flatOnTop || flatOnLeft ? 0.0f : cs * 0.4f; const float rightIndent = flatOnTop || flatOnRight ? 0.0f : cs * 0.4f;


#3

Oh yes, this is much better! Thanks!