From 21afd2920b2e48979649617bbe4b3e5db476fb16 Mon Sep 17 00:00:00 2001 From: jlewin Date: Thu, 20 Jun 2019 11:03:45 -0700 Subject: [PATCH] Improve help tab styling, fix close button - Issue MatterHackers/MCCentral#5699 Improve search --- MatterControlLib/ApplicationView/ApplicationController.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index 6ca413a88..9694a71ad 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -3296,11 +3296,12 @@ Support and tutorials: VAnchor = VAnchor.Stretch }; - helpDocsTab = new ChromeTab("HelpDocs", "Help".Localize(), tabControl, helpTreePanel, theme) + var icon = AggContext.StaticData.LoadIcon("help_page.png", 16, 16, theme.InvertIcons); + + helpDocsTab = new ChromeTab("HelpDocs", "Help".Localize(), tabControl, helpTreePanel, theme, icon) { MinimumSize = new Vector2(0, theme.TabButtonHeight), - Name = "Library Tab", - Padding = new BorderDouble(15, 0), + Name = "Help Tab", }; tabControl.AddTab(helpDocsTab);