Move generated color to theme

This commit is contained in:
John Lewin 2018-10-17 14:41:32 -07:00
parent 375019cba9
commit e74b5ef16e
4 changed files with 13 additions and 3 deletions

View file

@ -104,7 +104,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.printer = printer;
this.theme = theme;
this.Name = "View3DWidget";
this.BackgroundColor = theme.ResolveColor(theme.ActiveTabColor, new Color(Color.Black, 20));
this.BackgroundColor = theme.BedBackgroundColor;
this.HAnchor = HAnchor.Stretch; // HAnchor.MaxFitOrStretch,
this.VAnchor = VAnchor.Stretch; // VAnchor.MaxFitOrStretch