Remove duplication in SetupConnectionWidgetBase

- Issue #846
 - Move ActivePrinter to SetupConnectionWigetBase
 - Remove local theme variables
 - Allow subclass to set widget factory defaults
This commit is contained in:
John Lewin 2016-06-02 17:46:49 -07:00
parent 50593fe399
commit 8456924b9e
5 changed files with 85 additions and 156 deletions

View file

@ -42,7 +42,7 @@ namespace MatterHackers.MatterControl
{
contentRow.AddChild(new TextWidget("Wifi Setup".Localize() + ":", 0, 0, labelFontSize)
{
TextColor = this.defaultTextColor,
TextColor = ActiveTheme.Instance.PrimaryTextColor,
Margin = new BorderDouble(bottom: 10)
});