Dynamicly expand text downward (not upwards)

Hello, I want my text to expand so that all the text is shown. I have solved this by adding the content size fitter component, it has one problem tho. It expands both downwards and upwards which I don’t want. I’m using this for displaying item stats and if it expands in both directions it will cover the item. Thanks

Inspect your text’s Rect Transform and set the Pivot > Y to 1 (top). Then set the anchor to one of the top-anchor settings. This will anchor it at the top and cause it to expand downward.

2 Likes

It worked thanks!

Thanks.