Remove custom layout for non-ShowAsOverride settings

- Issue MatterHackers/MCCentral#3094
Connect section should not use custom layout
This commit is contained in:
John Lewin 2018-04-11 16:05:28 -07:00
parent 73ecabe8d8
commit fccad90662

View file

@ -67,7 +67,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
HAnchor = HAnchor.Absolute,
VAnchor = VAnchor.Fit | VAnchor.Center,
Width = settingData.ShowAsOverride ? 50 * GuiWidget.DeviceScale : 5,
Width = 50 * GuiWidget.DeviceScale,
DebugShowBounds = debugLayout
});
@ -87,7 +87,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
HAnchor = HAnchor.Absolute,
VAnchor = VAnchor.Fit | VAnchor.Center,
Width = settingData.ShowAsOverride ? 20 * GuiWidget.DeviceScale : 5,
Width = 20 * GuiWidget.DeviceScale,
DebugShowBounds = debugLayout
};
this.AddChild(restoreArea);