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 site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
2 People are following this question.
How can I force word wrap to wrap texts from right to left?
GUI toggle help
[SOLVED]GUIStyle Word Wrap Check
Write Text On Screen at Position
Is it possible to disable word wrapping, without enabling horizontal overflow, when BestFit is turned on?