Proxy TextColor to child

This commit is contained in:
John Lewin 2019-05-17 07:09:43 -07:00 committed by jlewin
parent 1454faddf5
commit c65acc3148

View file

@ -459,15 +459,16 @@ namespace MatterHackers.MatterControl.CustomWidgets
});
}
public Color TextColor { get; }
public Color TextColor
{
get => textWidget.TextColor;
set => textWidget.TextColor = value;
}
public override string Text
{
get => this.textWidget.Text;
set
{
this.textWidget.Text = value;
}
get => textWidget.Text;
set => textWidget.Text = value;
}
public override bool Enabled