- Home /
Question by
marius.treu · Aug 24, 2012 at 01:36 PM ·
guiresizetextarea
Textarea rezing in height by text
Hi, I think I have a simple problem.
All I want to know is how to implement a textarea with a large amount of text, that has a FIXED width but a resizing height (it should resize to the text written into).
The textarea has wrapped text of course.
I need the height of the resized textarea to work with.
Thanks in advance..!
Comment
Answer by Sundar · Aug 24, 2012 at 03:56 PM
Select your skin in project,
then in inspector open Text Area
set "Fixed Height" to 0( if it is not already 0),
then set "Stretch Height" to true by checking the box next to it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613080120im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Resize GUI TextArea with text height 2 Answers
how do you access textarea parameters? 1 Answer
Resize Gui 1 Answer