Search Issue Tracker
Fixed
Votes
5
Found in
4.5.0f6
Issue ID
626352
Regression
No
GUI Style Wordwrap causes extra spacing at the end of label to appear
To reproduce:
1.Open attached project or check this forum post for repro steps without project: http://forum.unity3d.com/threads/guistyle-wordwrap-bug-with-non-default-font-size-parent-wrapper-does-not-shrink-to-content.262468/
2.Open custom window by going to Window > WordWrapBugWindow.
3.Notice unexpected extra spacing in right corner of label.
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
bigbadtrumpet125
Nov 10, 2014 21:11
Hack fix for anyone looking at this bug and needing a short term solution
input = GUI.TextArea(pos, input, style);
TextEditor te = (TextEditor)GUIUtility.GetStateObject(typeof(TextEditor), GUIUtility.GetControlID(FocusType.Keyboard, pos) - 1);
te.scrollOffset.x = 0;
thrakinator
Nov 06, 2014 17:34
This would seem a pretty serious issue that will break any number of interfaces. How is it not already fixed?
krbbagel
Nov 05, 2014 21:25
Tested with 4.3 and no bug... in 4.5(.5) if we hold down space bar after 2 or 3 lines of word wrap the entire text moves out of the entry box (and can even leave the Unity screen if held long enough).
Possibly related bug: text entry blinking cursor is tiny / mis-aligned in 4.5 but not in 4.3...