From 56dc8082f7e6b0ce5529902b35e93616a9bbfc96 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Sun, 27 Aug 2017 00:23:10 +0300 Subject: [PATCH] Refine control spacing --- PrinterControls/TerminalWindow/TerminalWidget.cs | 6 +++--- Submodules/agg-sharp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PrinterControls/TerminalWindow/TerminalWidget.cs b/PrinterControls/TerminalWindow/TerminalWidget.cs index f7ae418c2..bf6f6bc39 100644 --- a/PrinterControls/TerminalWindow/TerminalWidget.cs +++ b/PrinterControls/TerminalWindow/TerminalWidget.cs @@ -60,12 +60,12 @@ namespace MatterHackers.MatterControl var headerRow = new FlowLayoutWidget(FlowDirection.LeftToRight) { HAnchor = HAnchor.Left | HAnchor.Stretch, + Padding = new BorderDouble(0, 8) }; this.AddChild(headerRow); filterOutput = new CheckBox("Filter Output".Localize()) { - Margin = new BorderDouble(5, 5, 5, 2), TextColor = ActiveTheme.Instance.PrimaryTextColor, VAnchor = VAnchor.Bottom, }; @@ -86,7 +86,7 @@ namespace MatterHackers.MatterControl autoUppercase = new CheckBox("Auto Uppercase".Localize()) { - Margin = new BorderDouble(5, 5, 5, 2), + Margin = new BorderDouble(left: 25), Checked = UserSettings.Instance.Fields.GetBool(TerminalAutoUppercaseKey, true), TextColor = ActiveTheme.Instance.PrimaryTextColor, VAnchor = VAnchor.Bottom @@ -108,7 +108,7 @@ namespace MatterHackers.MatterControl TextColor = ActiveTheme.Instance.PrimaryTextColor, HAnchor = HAnchor.Stretch, VAnchor = VAnchor.Stretch, - Margin = new BorderDouble(0, 5), + Margin = 0, Padding = new BorderDouble(3, 0) }; bodyRow.AddChild(textScrollWidget); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index a298fe498..975962e8a 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit a298fe4984a29c476d2477e24b440b3b23b410bd +Subproject commit 975962e8a02759ee0d2d65e647e4be9d6261945b