Make the scale control select all on focus - consistency.
This commit is contained in:
parent
9d344adce5
commit
5276d8a0a3
1 changed files with 1 additions and 0 deletions
|
|
@ -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) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue