From 269e43fafecdf57ac62e5e34b78aa12decd16415 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Mon, 25 Dec 2017 09:52:50 -0800 Subject: [PATCH] Revise SaveAs dialog colors - Remove redundant selectorPanel widget - Issue MatterHackers/MCCentral#2501 Too much contrast --- PartPreviewWindow/LibraryBrowserPage.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/PartPreviewWindow/LibraryBrowserPage.cs b/PartPreviewWindow/LibraryBrowserPage.cs index 216e632ab..4a272a14c 100644 --- a/PartPreviewWindow/LibraryBrowserPage.cs +++ b/PartPreviewWindow/LibraryBrowserPage.cs @@ -28,6 +28,7 @@ either expressed or implied, of the FreeBSD Project. */ using System; +using MatterHackers.Agg; using MatterHackers.Agg.UI; using MatterHackers.MatterControl.CustomWidgets; using MatterHackers.MatterControl.Library; @@ -70,17 +71,11 @@ namespace MatterHackers.MatterControl // put in the bread crumb widget breadCrumbWidget = new FolderBreadCrumbWidget(librarySelectorWidget); + breadCrumbWidget.BackgroundColor = ActiveTheme.Instance.TertiaryBackgroundColor; contentRow.AddChild(breadCrumbWidget); + contentRow.BackgroundColor = Color.Transparent; - // put in the area to pick the provider to save to - var selectorPanel = new GuiWidget(10, 30) - { - HAnchor = HAnchor.Stretch, - VAnchor = VAnchor.Stretch, - BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor, - }; - selectorPanel.AddChild(librarySelectorWidget); - contentRow.AddChild(selectorPanel); + contentRow.AddChild(librarySelectorWidget); acceptButton = buttonFactory.Generate(acceptButtonText); acceptButton.Name = "Accept Button";