Track library width across application restarts

- Issue MatterHackers/MCCentral#2236
Library panel should maintain its width across application restarts
This commit is contained in:
John Lewin 2017-11-10 16:31:47 -08:00
parent c970edd88e
commit f4bd1ab3d5
4 changed files with 28 additions and 5 deletions

View file

@ -102,7 +102,7 @@ namespace MatterHackers.MatterControl
public TextImageButtonFactory ViewControlsButtonFactory { get; private set; }
public Color SplitterBackground { get; private set; } = new Color(0, 0, 0, 60);
public int SplitterWidth => (int)(7 * (GuiWidget.DeviceScale <= 1 ? GuiWidget.DeviceScale : GuiWidget.DeviceScale * 1.4));
public int SplitterWidth => (int)(6 * (GuiWidget.DeviceScale <= 1 ? GuiWidget.DeviceScale : GuiWidget.DeviceScale * 1.4));
public Color SlightShade { get; } = new Color(0, 0, 0, 40);
public Color MinimalShade { get; } = new Color(0, 0, 0, 15);