Factor line width into global label shape.
Fixes https://gitlab.com/kicad/code/kicad/issues/4323
This commit is contained in:
parent
67bccaf465
commit
df37887b1f
|
@ -912,7 +912,7 @@ void SCH_GLOBALLABEL::CreateGraphicShape( RENDER_SETTINGS* aRenderSettings,
|
||||||
int symb_len = LenSize( GetShownText(), linewidth ) + 2 * margin;
|
int symb_len = LenSize( GetShownText(), linewidth ) + 2 * margin;
|
||||||
|
|
||||||
int x = symb_len + linewidth + 3;
|
int x = symb_len + linewidth + 3;
|
||||||
int y = halfSize;
|
int y = halfSize + linewidth + 3;
|
||||||
|
|
||||||
aPoints.clear();
|
aPoints.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue