Open jgodfrey opened 2 years ago
I think this behavior should be implemented in base SpinBox directly, instead of being done in editor code.
@Calinou - agreed, that makes sense. I assumed the issue was being handled more locally since there are other examples of spinbox usage where auto-selection works as expected. Though, I can't think of a case where the auto-select behavior would be undesirable, so implementing it at the level of the control seems reasonable.
Godot version
3.5.stable.official
System information
Windows 10
Issue description
When using the
AnimatedSprite | Select Frames
dialog, the current field (Horizontal, Vertical, Size, Separation, Offset) contents are not "auto-selected" when the field receives focus (either by pressingTab
ormouse-click
into the field).So, if you tab across the fields (for example) and enter values the typed information is concatenated to each field's current content rather than replacing it. So, to effectively change a value, you must either
Ctrl-A
to select everything in the field prior to typing or manually delete the current contents. This makes changing all of the fields much harder than necessary.Steps to reproduce
AnimatedSprite
node the sceneFrames
field to new SpriteFramesSpriteFrames
item to open the Animation EditorAdd Frames from a Sprite Sheet
button in the editor's toolbarMinimal reproduction project
Unnecessary here I think, but happy to provide something if needed.