X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fcomponents%2Fgui%2FGUINotGate.java;h=7af9a4b4d4f63528a7f0523bcaf78a3d78959dea;hb=48db093ee4014bf9cc6c600a1a48e1e11ea6f5f7;hp=a66c24d511887be7f533d95c2a2dec63d761dab4;hpb=dfedf0abe75045247bbb831c1d241ba38ff57ad4;p=Mograsim.git diff --git a/LogicUI/src/era/mi/components/gui/GUINotGate.java b/LogicUI/src/era/mi/components/gui/GUINotGate.java index a66c24d5..7af9a4b4 100644 --- a/LogicUI/src/era/mi/components/gui/GUINotGate.java +++ b/LogicUI/src/era/mi/components/gui/GUINotGate.java @@ -42,7 +42,7 @@ public class GUINotGate extends NotGate implements BasicGUIComponent Font labelFont = new Font(oldFont.getName(), 5, oldFont.getStyle()); gc.setFont(labelFont); Point textExtent = gc.textExtent(LABEL); - gc.drawText(LABEL, 10 - textExtent.x / 2, 5 - textExtent.y / 2, true); + gc.drawText(LABEL, 8.5 - textExtent.x / 2, 5 - textExtent.y / 2, true); gc.setFont(oldFont); gc.drawOval(17, 3.5, 3, 3); }