mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
changed switch
This commit is contained in:
@@ -5,6 +5,6 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<string>metric</string>
|
<string>metric</string>
|
||||||
<boolean>false</boolean>
|
<boolean>true</boolean>
|
||||||
</entry>
|
</entry>
|
||||||
</map>
|
</map>
|
||||||
Binary file not shown.
+4
-10
@@ -136,25 +136,19 @@ public class StatusBar extends JPanel implements IPlugIn {
|
|||||||
gbc.gridx = 1;
|
gbc.gridx = 1;
|
||||||
gbc.fill = GridBagConstraints.BOTH;
|
gbc.fill = GridBagConstraints.BOTH;
|
||||||
gbc.weightx = 0;
|
gbc.weightx = 0;
|
||||||
add(new JSeparator(SwingConstants.HORIZONTAL), gbc);
|
|
||||||
|
|
||||||
gbc.gridx = 2;
|
|
||||||
add(getSizeLabel(), gbc);
|
add(getSizeLabel(), gbc);
|
||||||
|
|
||||||
gbc.gridx = 3;
|
gbc.gridx = 2;
|
||||||
add(new JSeparator(SwingConstants.HORIZONTAL), gbc);
|
|
||||||
|
|
||||||
gbc.gridx = 4;
|
|
||||||
add(zoomPanel, gbc);
|
add(zoomPanel, gbc);
|
||||||
|
|
||||||
gbc.gridx = 5;
|
gbc.gridx = 3;
|
||||||
add(getUpdateLabel(), gbc);
|
add(getUpdateLabel(), gbc);
|
||||||
|
|
||||||
gbc.gridx = 6;
|
gbc.gridx = 4;
|
||||||
gbc.fill = GridBagConstraints.NONE;
|
gbc.fill = GridBagConstraints.NONE;
|
||||||
add(getMemoryPanel(), gbc);
|
add(getMemoryPanel(), gbc);
|
||||||
|
|
||||||
gbc.gridx = 7;
|
gbc.gridx = 5;
|
||||||
add(new JPanel(), gbc);
|
add(new JPanel(), gbc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
@@ -847,6 +847,8 @@ public class Presenter implements IPlugInPort {
|
|||||||
.deepClone(currentProject), "Edit");
|
.deepClone(currentProject), "Edit");
|
||||||
}
|
}
|
||||||
messageDispatcher.dispatchMessage(EventType.REPAINT);
|
messageDispatcher.dispatchMessage(EventType.REPAINT);
|
||||||
|
messageDispatcher.dispatchMessage(EventType.SELECTION_SIZE_CHANGED,
|
||||||
|
calculateSelectionDimension());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ public class MiniToggleSwitch implements IDIYComponent<ToggleSwitchType> {
|
|||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private static Size SPACING = new Size(0.1d, SizeUnit.in);
|
private static Size SPACING = new Size(0.2d, SizeUnit.in);
|
||||||
private static Size MARGIN = new Size(0.08d, SizeUnit.in);
|
private static Size MARGIN = new Size(0.08d, SizeUnit.in);
|
||||||
private static Size CIRCLE_SIZE = new Size(0.09d, SizeUnit.in);
|
private static Size CIRCLE_SIZE = new Size(0.09d, SizeUnit.in);
|
||||||
private static Size LUG_WIDTH = new Size(0.065d, SizeUnit.in);
|
private static Size LUG_WIDTH = new Size(0.065d, SizeUnit.in);
|
||||||
|
|||||||
Reference in New Issue
Block a user