Ok so in the inspector for GUI Elements that have a long string the text wordwraps but the second line will overlap the first, making it unreadable. If I use EditorGUIUtility.LookLikeInspector the text of the GUIContent doesnt wordwrap. I don't like how text fields look that way because its unclear whether the text is contained within a texfield so I would like to use LookLikeControls but change the wordwrap for the GUIContents. How would I go about doing this?
Edit: Ive just noticed what is actually happening is that text of the guicontent isn't expanding the height of the control. So it overlaps with the control below it.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
2 People are following this question.
imaged text button
How can I enable word wrapping for GUI?
Is using new GUIContent() in Unity causes memory leaks?
For Guitext wordwrap?
GUIContent array issues.