Hi,
I am creating a scrollable text area which will be used for chatting. So far it works fine as long as I give a long height for the text box. However since this is used for chatting a fixed height is not a good idea. the height of the "Text" needs to be set dynamically. But I could not find a way to do this. Anyone know how to resize a text field based on it's text, so the full text scrolls inside the scrollrect?
I am creating a scrollable text area which will be used for chatting. So far it works fine as long as I give a long height for the text box. However since this is used for chatting a fixed height is not a good idea. the height of the "Text" needs to be set dynamically. But I could not find a way to do this. Anyone know how to resize a text field based on it's text, so the full text scrolls inside the scrollrect?