mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Increased padding between schematic symbols and their labels
This commit is contained in:
@@ -43,9 +43,9 @@ public abstract class AbstractSchematicLeadedSymbol<T> extends AbstractLeadedCom
|
|||||||
@Override
|
@Override
|
||||||
protected int calculateLabelYCoordinate(Rectangle2D shapeRect, Rectangle2D textRect, FontMetrics fontMetrics) {
|
protected int calculateLabelYCoordinate(Rectangle2D shapeRect, Rectangle2D textRect, FontMetrics fontMetrics) {
|
||||||
if (labelPosition == LabelPosition.ABOVE) {
|
if (labelPosition == LabelPosition.ABOVE) {
|
||||||
return -1;
|
return -5;
|
||||||
} else {
|
} else {
|
||||||
return (int) (shapeRect.getHeight() + textRect.getHeight() - 1);
|
return (int) (shapeRect.getHeight() + textRect.getHeight());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1822,6 +1822,10 @@
|
|||||||
<changeType>NEW_FEATURE</changeType>
|
<changeType>NEW_FEATURE</changeType>
|
||||||
<description>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)</description>
|
<description>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)</description>
|
||||||
</org.diylc.appframework.update.Change>
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>IMPROVEMENT</changeType>
|
||||||
|
<description>Increased padding between schematic symbols and their labels</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
<org.diylc.appframework.update.Change>
|
<org.diylc.appframework.update.Change>
|
||||||
<changeType>BUG_FIX</changeType>
|
<changeType>BUG_FIX</changeType>
|
||||||
<description>Auto-save dialog pops up when running multiple instances of the app at the same time</description>
|
<description>Auto-save dialog pops up when running multiple instances of the app at the same time</description>
|
||||||
|
|||||||
Reference in New Issue
Block a user