No wordwrap for GUIContents in inspector

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.

more ▼

asked Jul 25, 2011 at 03:28 PM

avatar image

326 52 42 45

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jul 25, 2011 at 03:28 PM

Seen: 971 times

Last Updated: Jul 25, 2011 at 03:41 PM