Set border size of label

Unless I’m mistaken, overriding getLabelBorderSize() in a LookAndFeel class does not have the desired effect. It seems to only affect the placement and sizing of the text, but not the visual outline.

LookAndFeel_V2::drawLabel, line 1339, g.drawRect (label.getLocalBounds()); should be something more sophisticated which works with the four sides of the BorderSize provided by getLabelBorderSize(). Currently that call always uses the default lineThickness value of 1.f

Reading the docs for the BorderSize class, I see it is supposed to be ‘gap around the edges’ rather than line thickness.

So I suppose the only way to set line thickness for Label’s border is to override the whole drawLabel function.