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:
parent
aa46c7e899
commit
c1604a1d86
2 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue