Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2020.2
2021.1
2021.2
2021.2.0a5
Issue ID
1315713
Regression
No
The number's precision doesn't change according to the size of the text field to fit the field
How to reproduce it:
1. Open the user's attached project ("New_Unity_Project.zip")
2. Select 'GameObject' in the Hierarchy window
3. Try to shrink and expand the Inspector window
4. Observe 'GameObject' Transform component's fields
Expected result: The displayed numbers in the fields changes according to the field's size. Displayed values fit in the field
Actual result: The displayed numbers in the fields don't change according to the field's size. Displayed values don't fit in the field
Reproducible with: 2018.4.32f1, 2019.4.20f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a5
Comments (1)
-
dpoly
Feb 20, 2021 05:40
In my opinion this is a serious problem for fields displayed in E format (with exponent). The number as displayed appears to lie between 1 and 9, when it actually it may not. This is highly inconvenient, even if you are aware of the possibility. It routinely arises with numbers very close to zero, due to rounding errors.
I agree it is not a problem for values displayed in F format (without exponent). The visible part of the field will show the most significant digits.
I agree truncation is not a good solution. Perhaps you could right justify the number (so the exponent is visible), or highlight it in red (to show the displayed value is misleading), or use F format.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Resolution Note (2021.2.X):
After discussions with the UX team truncation based on size is not a desired features we want to implement.