Limit MH Number edit to 3 decimal places.
This commit is contained in:
parent
d02b9a1ac7
commit
fd713d5616
2 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue