Fixed issue with color control

refactoring GuiWidegt
This commit is contained in:
Lars Brubaker 2021-01-29 16:44:47 -08:00
parent ca8b4632e1
commit 1599aa0fd4
34 changed files with 55 additions and 55 deletions

View file

@ -97,7 +97,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
child.Click -= Row_Click;
}
this.CloseAllChildren();
this.CloseChildren();
foreach (var iconView in allIconViews)
{
@ -193,7 +193,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
rowButtonContainer = null;
allIconViews.Clear();
this.CloseAllChildren();
this.CloseChildren();
}
private bool reloading = false;
@ -258,7 +258,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
public virtual void ClearItems()
{
this.CloseAllChildren();
this.CloseChildren();
}
}

View file

@ -256,7 +256,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
this.items.Clear();
this.SelectedItems.Clear();
contentView.CloseAllChildren();
contentView.CloseChildren();
var itemsContentView = contentView as IListContentView;
itemsContentView.ClearItems();
@ -377,7 +377,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
if (contentView != null
&& contentView != value)
{
this.ScrollArea.CloseAllChildren();
this.ScrollArea.CloseChildren();
contentView = value;
contentView.HAnchor = HAnchor.Stretch;