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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (2021.2.X):
After discussions with the UX team truncation based on size is not a desired features we want to implement.