Merge pull request #2823 from jlewin/design_tools
Ensure control is invisible at startup
This commit is contained in:
commit
3e012ca610
1 changed files with 3 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue