From 14f8f45e56267ee350ec17a4c6d4dfe11c8ca6b4 Mon Sep 17 00:00:00 2001 From: LarsBrubaker Date: Wed, 28 Oct 2020 19:54:21 -0700 Subject: [PATCH] fixing bad close button placement issue: MatterHackers/MCCentral#6129 presets editor has close button under edit icon --- MatterControlLib/CustomWidgets/InlineStringEdit.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MatterControlLib/CustomWidgets/InlineStringEdit.cs b/MatterControlLib/CustomWidgets/InlineStringEdit.cs index 1acabd9cf..9720f0f71 100644 --- a/MatterControlLib/CustomWidgets/InlineStringEdit.cs +++ b/MatterControlLib/CustomWidgets/InlineStringEdit.cs @@ -55,7 +55,7 @@ namespace MatterHackers.MatterControl.CustomWidgets bool boldFont = false, bool editable = true, string emptyText = null) - : base(theme.TabbarPadding, theme.CreateSmallResetButton()) + : base(theme.TabbarPadding) { this.Padding = theme.ToolbarPadding; this.HAnchor = HAnchor.Stretch; @@ -171,7 +171,7 @@ namespace MatterHackers.MatterControl.CustomWidgets public void SetVisibility(bool showEditPanel) { editButton.Visible = !showEditPanel; - titleText.Visible = !showEditPanel; + titleText.Visible = !showEditPanel; saveButton.Visible = showEditPanel; textEditWithInlineCancel.Visible = showEditPanel;