Limit MH Number edit to 3 decimal places.

This commit is contained in:
Lars Brubaker 2018-04-12 13:13:24 -07:00
parent d02b9a1ac7
commit fd713d5616
2 changed files with 3 additions and 2 deletions

View file

@ -45,8 +45,9 @@ namespace MatterHackers.MatterControl
this.ActuallNumberEdit = new NumberEdit(startingValue, x, y, pointSize, pixelWidth, pixelHeight, allowNegatives, allowDecimals, minValue, maxValue, increment, tabIndex)
{
VAnchor = VAnchor.Bottom
VAnchor = VAnchor.Bottom,
};
this.ActuallNumberEdit.InternalNumberEdit.MaxDecimalsPlaces = 3;
this.AddChild(this.ActuallNumberEdit);
}