|
Hi! I just came across the following issue.
The text "This is a longer text describing what should be filled in" gets cut. So it does not display the whole sentence. Probably a very easy thing to do, but I cannot seem to find a solution. I checked here: http://unity3d.com/support/documentation/ScriptReference/GUILayout.html but I am missing "TextWidth" or something like that. Does anyone know how to extend the space which can be used for the text in front of the input field? Thanks in advance!
(comments are locked)
|
|
There are several ways of adding help text to an editor GUI. The 'standard' way of providing help text is to use tooltips:
EditorGUIUtility.LookLikeControls() can be used to make small adjustments to label width. (A bit of a hack.) For longer descriptions you can add a help text box somewhere in the GUI. The following custom style can be used with GUILayout.Label(). +1, Thank you so much, 3 awesome suggestions!
Nov 02 '11 at 10:17 AM
softrare
wish i had the rep to up-thumb, great answer!
Mar 23 at 07:41 PM
Darkhydro
(comments are locked)
|
