- Home /
GUI: Text justification?
I wasn't able to find anything in the docs, on Answers or the forum, but that doesn't necessarily mean that it doesn't exist, right? ;)
So: Is there a way - ANY way (BUT using a single pre-formatted texture for the whole text) - to justify a text within a TextArea?
Sure, I could use a single texture with all my text neatly aligned where I want it to be, but I need the text to be editable. But having the text aligned only to the left or right just looks not as good as a justified one.
(Just to be clear beyond any language barrier: With justify I mean to align the text on the left AND right side, making it essentially a block.)
Answer by Eric5h5 · Jul 27, 2010 at 11:14 PM
No, Unity has no justification features like that. (Although justified text may look neater, it's actually harder to read, so there's that to keep in mind....)
Well, there are cases in which good looks is more important than easiness of reading, plus I recommend to consider the latter highly subjective as this is a matter of taste. I guess this is a case for feature request then...
Answer by sschaem · Sep 10, 2014 at 11:55 PM
A few asset extend Unity features, and do support text justification, as part of their text system. Here is a video example of TextMesh Pro, thats actually made to integrate with all flavor of unity gui options and ngui (and possibly others). https://www.youtube.com/watch?v=q3ROZmdu65o#t=651
edit: just noticed the 2010 date... but might still be useful for other doing a search
Your answer
Follow this Question
Related Questions
Problem Displaying Score on GUI text 0 Answers
Guitext hides PHP text on iphone 0 Answers
GUI Text line break Alt+Enter still does not work in Unity for Windows? 0 Answers
Canvas Text gets garbled 0 Answers
Simple text GUI 2 Answers