- Home /
Question by
Whelandrew · Nov 14, 2012 at 08:55 PM ·
textscrollviewmathfboxheight
Resize scrollview height to match size of box inside
I probably just need some correct math for this problem: I have an object that gets called for a wall of text throughout the game. I need the scrollview's height paramater to change in relation to how long the string of text is. So far I have it: (scrollView.width/text.Length)*fontSize
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613083856im_/https://answers.unity.com/themes/thub/images/avi.jpg)