Make sure we remove all the children of column two before removing them.

Got rid of some dead code.
This commit is contained in:
larsbrubaker 2014-07-01 14:44:27 -07:00
parent af9d9d7026
commit 222ed94f36
4 changed files with 8 additions and 10 deletions

View file

@ -122,9 +122,6 @@ namespace MatterHackers.MatterControl
}
{
FlowLayoutWidget OutputWindowsLayout = new FlowLayoutWidget(FlowDirection.LeftToRight);
OutputWindowsLayout.VAnchor = VAnchor.ParentBottomTop;
outputScrollWidget = new OutputScroll();
outputScrollWidget.Height = 100;
outputScrollWidget.BackgroundColor = RGBA_Bytes.White;
@ -132,8 +129,6 @@ namespace MatterHackers.MatterControl
outputScrollWidget.VAnchor = VAnchor.ParentBottomTop;
outputScrollWidget.Margin = new BorderDouble(0, 5);
OutputWindowsLayout.AddChild(outputScrollWidget);
manualEntryTopToBottomLayout.AddChild(outputScrollWidget);
}