Set border width in constructor to work around agg quirk

- Issue MatterHackers/MCCentral#3178
Borders missing from widgets in popup container
- Issue MatterHackers/MCCentral#3179
Native border properties having no effect on MHText/MHNumber edit fields
This commit is contained in:
John Lewin 2018-04-23 15:58:57 -07:00
parent aa46c7e899
commit c1604a1d86
2 changed files with 2 additions and 0 deletions

View file

@ -42,6 +42,7 @@ namespace MatterHackers.MatterControl
this.BackgroundColor = Color.White;
this.HAnchor = HAnchor.Fit;
this.VAnchor = VAnchor.Fit;
this.Border = 1;
this.ActuallNumberEdit = new NumberEdit(startingValue, x, y, pointSize, pixelWidth, pixelHeight, allowNegatives, allowDecimals, minValue, maxValue, increment, tabIndex)
{