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.
To help users navigate the site we have posted a user guide.
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).
Answers and Comments
2 People are following this question.
How can I force word wrap to wrap texts from right to left?
How to add multiple lines of text in GUI.Button with different font styles?
[SOLVED]GUIStyle Word Wrap Check
GUIContent renders button elements different from intended
Is it possible to disable word wrapping, without enabling horizontal overflow, when BestFit is turned on?