From 36ef069629fe5f248ee8bbdce732f0d1df8a8548 Mon Sep 17 00:00:00 2001 From: Greg Date: Fri, 30 Sep 2016 15:21:58 -0700 Subject: [PATCH] Added spacing to mm text on JogControls MatterHackers/MCCentral#511 --- PrinterControls/XYZJogControls.cs | 2 ++ Submodules/agg-sharp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PrinterControls/XYZJogControls.cs b/PrinterControls/XYZJogControls.cs index fc3b7262d..5b2df306f 100644 --- a/PrinterControls/XYZJogControls.cs +++ b/PrinterControls/XYZJogControls.cs @@ -270,6 +270,7 @@ namespace MatterHackers.MatterControl setMoveDistanceControl.AddChild(moveRadioButtons); TextWidget mmLabel = new TextWidget("mm", textColor: ActiveTheme.Instance.PrimaryTextColor, pointSize: 8); + mmLabel.Margin = new BorderDouble(left: 10); mmLabel.VAnchor = Agg.UI.VAnchor.ParentCenter; tooBigFlowLayout.AddChild(mmLabel); @@ -541,6 +542,7 @@ namespace MatterHackers.MatterControl TextWidget mmLabel = new TextWidget("mm", textColor: ActiveTheme.Instance.PrimaryTextColor, pointSize: 8); mmLabel.VAnchor = Agg.UI.VAnchor.ParentCenter; + mmLabel.Margin = new BorderDouble(left: 10); setMoveDistanceControl.AddChild(mmLabel); setMoveDistanceControl.HAnchor = Agg.UI.HAnchor.ParentLeft; eButtons.AddChild(setMoveDistanceControl); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index a5dd5f2c4..161cbfd85 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit a5dd5f2c490013763dc7fb53358c22a255f2e108 +Subproject commit 161cbfd8579fbe54f9f4fc24e37e663f88adf6b5