Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Display label in 2 or more lines

$
0
0
Hello, I'm having issue to display corretly a text label. The text is centered as I like, but I'd like that the line would be splitted in order to take 2 or more lines, istead of a one big line (I don't want to make a vertical scroller to read the text). Here is a pic of the issue: ![alt text][1] [1]: http://s7.postimg.org/sg1ra0fu3/pic.png The yellow text is too big for a single line, is there a way to automatically split it in two or more lines ? here is the code I used: GUILayout.FlexibleSpace(); GUILayout.Label("Match all the cubes before the time runs out. Everytime you match all the cubes, you will reach a new room. Play this mode to unlock Time Attack mode!"); GUILayout.FlexibleSpace(); Thanks

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>