From 5711229bc04a9495a84f09f6baf446283f228923 Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Sat, 12 Oct 2019 15:42:07 +0200 Subject: [PATCH] Made ModelBitDisplay/ManualSwitch smaller --- .../logic/model/model/components/atomic/ModelBitDisplay.java | 2 +- .../logic/model/model/components/atomic/ModelManualSwitch.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelBitDisplay.java b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelBitDisplay.java index 1cf14e84..8bff082f 100644 --- a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelBitDisplay.java +++ b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelBitDisplay.java @@ -22,7 +22,7 @@ import net.mograsim.preferences.Preferences; public class ModelBitDisplay extends ModelComponent { private static final double width = 20; - private static final double height = 15; + private static final double height = 10; private static final double fontHeight = 5; public final int logicWidth; diff --git a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelManualSwitch.java b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelManualSwitch.java index 04d3b42c..f495b4e9 100644 --- a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelManualSwitch.java +++ b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelManualSwitch.java @@ -29,7 +29,7 @@ import net.mograsim.preferences.Preferences; public class ModelManualSwitch extends ModelComponent { private static final double width = 20; - private static final double height = 15; + private static final double height = 10; private static final double fontHeight = 5; private static final double heightMiniButtons = 4; // 0 is disabled -- 2.17.1