Settings sidebar defaults to collapsed, tune library sidebar width
This commit is contained in:
parent
26091a26cb
commit
39e8d67327
2 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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<string, GuiWidget> allTabs = new Dictionary<string, GuiWidget>();
|
||||
|
||||
public DockingTabControl()
|
||||
{
|
||||
// load up the state data for this control and printer
|
||||
// ActiveSliceSettings.Instance.PrinterSelected
|
||||
ControlIsPinned = true;
|
||||
}
|
||||
|
||||
public void AddPage(string name, GuiWidget widget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue