diff --git a/diylc/diylc-core/src/org/diylc/components/AbstractSchematicLeadedSymbol.java b/diylc/diylc-core/src/org/diylc/components/AbstractSchematicLeadedSymbol.java index a9cc9745..b098de48 100644 --- a/diylc/diylc-core/src/org/diylc/components/AbstractSchematicLeadedSymbol.java +++ b/diylc/diylc-core/src/org/diylc/components/AbstractSchematicLeadedSymbol.java @@ -43,9 +43,9 @@ public abstract class AbstractSchematicLeadedSymbol extends AbstractLeadedCom @Override protected int calculateLabelYCoordinate(Rectangle2D shapeRect, Rectangle2D textRect, FontMetrics fontMetrics) { if (labelPosition == LabelPosition.ABOVE) { - return -1; + return -5; } else { - return (int) (shapeRect.getHeight() + textRect.getHeight() - 1); + return (int) (shapeRect.getHeight() + textRect.getHeight()); } } diff --git a/diylc/diylc-library/lib/diylc-core.jar b/diylc/diylc-library/lib/diylc-core.jar index afe2c3cb..96f68c5d 100644 Binary files a/diylc/diylc-library/lib/diylc-core.jar and b/diylc/diylc-library/lib/diylc-core.jar differ diff --git a/diylc/diylc-swing/lib/diylc-core.jar b/diylc/diylc-swing/lib/diylc-core.jar index afe2c3cb..96f68c5d 100644 Binary files a/diylc/diylc-swing/lib/diylc-core.jar and b/diylc/diylc-swing/lib/diylc-core.jar differ diff --git a/diylc/diylc-swing/update.xml b/diylc/diylc-swing/update.xml index 536a0303..94a56134 100644 --- a/diylc/diylc-swing/update.xml +++ b/diylc/diylc-swing/update.xml @@ -1822,6 +1822,10 @@ NEW_FEATURE Using right click to draw a selection rectangle doesn't move objects under the cursor (useful for selecting multiple components that have a big board below) + + IMPROVEMENT + Increased padding between schematic symbols and their labels + BUG_FIX Auto-save dialog pops up when running multiple instances of the app at the same time