From f32b99fc33b2e33cf0d91330f253555e2eb4e7ea Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 11 Jan 2018 22:32:29 -0800 Subject: [PATCH] Consistent SectionWidget spacing --- SlicerConfiguration/SliceSettingsWidget.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/SlicerConfiguration/SliceSettingsWidget.cs b/SlicerConfiguration/SliceSettingsWidget.cs index 4b211dc99..a0e4c5a31 100644 --- a/SlicerConfiguration/SliceSettingsWidget.cs +++ b/SlicerConfiguration/SliceSettingsWidget.cs @@ -203,7 +203,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration { VAnchor = VAnchor.Fit, HAnchor = HAnchor.Stretch, - Padding = new BorderDouble(10, 10, 13, 6), + Padding = new BorderDouble(10, 0, 12, 10), }; bool isFirstSection = true; @@ -242,12 +242,9 @@ namespace MatterHackers.MatterControl.SlicerConfiguration string groupName = (group.Name.Contains("!hidden")) ? "" : group.Name; - var sectionWidget = new SectionWidget(groupName, groupPanel, theme, expanded: expanded) - { - Margin = new BorderDouble(bottom: 8), - }; - + var sectionWidget = new SectionWidget(groupName, groupPanel, theme, expanded: expanded); theme.BoxStyleSectionWidget(sectionWidget); + sectionWidget.Margin = new BorderDouble(bottom: 10); if (string.IsNullOrEmpty(groupName)) {