From 39e8d673278ddeda4e1fdeca9cc6b3bf3ba7fa27 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Mon, 12 Jun 2017 16:09:49 -0700 Subject: [PATCH] Settings sidebar defaults to collapsed, tune library sidebar width --- ApplicationView/WidescreenPanel.cs | 2 +- CustomWidgets/DockingTabControl.cs | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ApplicationView/WidescreenPanel.cs b/ApplicationView/WidescreenPanel.cs index 463694d94..e5760e1dd 100644 --- a/ApplicationView/WidescreenPanel.cs +++ b/ApplicationView/WidescreenPanel.cs @@ -63,7 +63,7 @@ namespace MatterHackers.MatterControl var library3DViewSplitter = new Splitter() { Padding = new BorderDouble(4), - SplitterDistance = 590, + SplitterDistance = 410, SplitterWidth = 10, SplitterBackground = ApplicationController.Instance.Theme.SplitterBackground }; diff --git a/CustomWidgets/DockingTabControl.cs b/CustomWidgets/DockingTabControl.cs index 2ac19af63..0bbb50d46 100644 --- a/CustomWidgets/DockingTabControl.cs +++ b/CustomWidgets/DockingTabControl.cs @@ -42,16 +42,14 @@ namespace MatterHackers.MatterControl.CustomWidgets { public class DockingTabControl : GuiWidget { - public bool ControlIsPinned { get; set; } = true; + // TODO: Pinned state should preferably come from MCWS, default to local data if guest and be per user not printer + public bool ControlIsPinned { get; set; } = false; private GuiWidget topToBottom; Dictionary allTabs = new Dictionary(); public DockingTabControl() { - // load up the state data for this control and printer - // ActiveSliceSettings.Instance.PrinterSelected - ControlIsPinned = true; } public void AddPage(string name, GuiWidget widget)