Better display of 3d view editor values

This commit is contained in:
LarsBrubaker 2020-09-15 07:56:31 -07:00
parent 58f6645fdf
commit e1490772e3
8 changed files with 75 additions and 53 deletions

View file

@ -76,7 +76,7 @@ namespace MatterHackers.Plugins.EditorTools
xValueDisplayInfo = new InlineEditControl()
{
ForceHide = ForceHideScale,
GetDisplayString = (value) => "{0:0.0}mm".FormatWith(value),
GetDisplayString = (value) => "{0:0.0}".FormatWith(value),
};
xValueDisplayInfo.EditComplete += EditComplete;
@ -92,7 +92,7 @@ namespace MatterHackers.Plugins.EditorTools
yValueDisplayInfo = new InlineEditControl()
{
ForceHide = ForceHideScale,
GetDisplayString = (value) => "{0:0.0}mm".FormatWith(value)
GetDisplayString = (value) => "{0:0.0}".FormatWith(value)
};
yValueDisplayInfo.EditComplete += EditComplete;