Made the material control update when changed

This commit is contained in:
Lars Brubaker 2017-09-20 11:12:13 -07:00
parent a4ba99d5b0
commit 2a71b04a3b
3 changed files with 87 additions and 93 deletions

View file

@ -29,11 +29,6 @@ namespace MatterHackers.MatterControl.ConfigurationPage
this.HAnchor = HAnchor.Stretch;
this.MinimumSize = new Vector2(0, 40);
if (optionalControls != null)
{
optionalControls.VAnchor |= VAnchor.Center;
}
if (imageBuffer != null)
{
this.AddChild(new ImageWidget(imageBuffer)
@ -69,7 +64,6 @@ namespace MatterHackers.MatterControl.ConfigurationPage
if (settingsControls != null)
{
settingsControls.VAnchor |= VAnchor.Center;
this.AddChild(settingsControls);
}
}