can we enable and disable the word wrap through scripting where ever we wanted in GUI.SKIN through scripting only
Mar 03 '11 at 12:46 PM
Mar 03 '11 at 01:11 PM
See GUIStyle.wordWrap and apply that in the same manner as your previous question about alignment.
Mar 03 '11 at 12:54 PM
GUIStyle let you set up all properties for a gui "object". Check the docs on that to save asking a lot of questions about the many properties of GUIStyle.
k thanks very much for replaying to my question
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Mar 03 '11 at 12:46 PM
Seen: 1279 times
Last Updated: Mar 03 '11 at 01:11 PM
How can I force word wrap to wrap texts from right to left?
Is it possible to detect which GUIStyleState is used?
How do I modify the disabled GUI style?
How can I add font effects to my GUIStyle font?
GUI.Toolbar with different images for each button using GUIStyle
GUI.matrix - invalid matrix
Styling an individual button in SelectionGrid
Semitransparent GUI Buttons
Problems with GUI relative coordinates once the game is published for web view
How can I change text alignment for GUI?