Merge pull request #2823 from jlewin/design_tools

Ensure control is invisible at startup
This commit is contained in:
johnlewin 2017-12-29 14:39:03 -08:00 committed by GitHub
commit 3e012ca610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,12 @@ namespace MatterHackers.MatterControl.CustomWidgets
public InlineEditControl(string defaultSizeString = "-0000.00", Agg.Font.Justification justification = Agg.Font.Justification.Left)
{
base.Visible = false;
double pointSize = 12;
numberDisplay = new TextWidget(defaultSizeString, 0, 0, pointSize, justification: justification)
{
Visible = false,
VAnchor = VAnchor.Bottom,
HAnchor = HAnchor.Left,
Text = "0",