- Home /
Adjust size of tooltip text on the fly
Hello,
I'm working on a character screen which has a tooltip at the bottom to explain the functions of the various buttons and labels. Most of the descriptions are short, but others extend to two lines. Does anyone know of a simple way to adjust the size of the text. Tried the various options in the tooltip style (wrap, clip, overflow). Reducing the overall text size is a passable solution, but it leaves a lot of empty space in the single line descriptions. Anyone know of a more elegant solution?
Thanks for reading.
Answer by Eric5h5 · Apr 20, 2013 at 08:00 PM
Use a custom GUIStyle for the tooltip, and change the style's fontSize as needed.
Your answer
Follow this Question
Related Questions
How would I make a tool-tip sized to text? (4.6 GUI) 2 Answers
Big text field GUI. 1 Answer
Displaying varying text 1 Answer
Draw GUI Text if clicked out of webplayer 1 Answer
How can I add "..." to GUI.Label if it goes past its bounds? 1 Answer