Search Issue Tracker
Fixed in 2023.1.0a20
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a1
Votes
1
Found in
2020.2.0a14
2020.3.34f1
2021.3.2f1
2022.1.0f1
2022.2.0a13
2023.1.0a1
2023.2.0a1
Issue ID
UUM-3429
Regression
Yes
GUIStyle.CalcHeight returns different values when DPI scaling is set to 100%
How to reproduce:
1. Open the user's attached "GUIStyleCalcHeightBug" project
2. Make sure your display scaling is set to 100%
3. Click Bug Report -> Open Window
4. Observe the Console
Expected result: contentHeight has the same value in both layout and repaint phases and the text is not cropped
Actual result: contentHeight value is smaller in the layout phase and the text becomes cropped
Reproducible with: 2020.2.0a14, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a13
Not reproducible with: 2019.4.39f1, 2020.2.0a13
Note: Reproduced on a 3840x2160 monitor, results may vary with other monitors
Comments (1)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
HarryCodder
Nov 15, 2022 08:57
"Since it's an editor-unsupported bug"
What ?