Search Issue Tracker
Not Reproducible
Votes
0
Found in
4.5.0a5
Issue ID
624504
Regression
No
IMGUI Labels wrap improperly when styled bold and beside a flexiblespace
When rendering an IMGUI GUILayout.Label inside a horizontal layout containing a FlexibleSpace, if a style is applied to the Label which enables word wrapping AND alters the font's dimensions (e.g. by setting the font's weight to bold), the Label's text will incorrectly wrap its contents.
Preconditions: Unity 4.5.x installed, empty project.
Steps to Reproduce:
1 - Attach the included C# "BoldIMGUI" script to an object in the scene.
2 - Run the scene.
3 - Observe that the text appears normal.
4 - Click the "Bold Only" and "Wrap Only" buttons. Observe that the text remains normal.
5 - Click the "Bold & Wrap" button.
6 - (EXPECTED) Text becomes bold, does not wrap.
6 - (OBSERVED) Text breaks the final word onto a new line, despite much visible space remaining between the end of the text line and the right-aligned image.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment