Make the scale control select all on focus - consistency.

This commit is contained in:
Lars Brubaker 2015-01-06 16:03:12 -08:00
parent 9d344adce5
commit 5276d8a0a3

View file

@ -1290,6 +1290,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
scaleRatioContainer.AddChild(new HorizontalSpacer());
scaleRatioControl = new MHNumberEdit(1, pixelWidth: 50, allowDecimals: true, increment: .05);
scaleRatioControl.SelectAllOnFocus = true;
scaleRatioControl.VAnchor = VAnchor.ParentCenter;
scaleRatioContainer.AddChild(scaleRatioControl);
scaleRatioControl.ActuallNumberEdit.KeyPressed += (sender, e) =>