How would you implement a phone text messenger kind of UI in Unity? The game needs to be able to dynamically add text objects by code to the conversation and you can scroll through them when it gets longer than the screen. This is something I've been struggling with for a few days now and I can't find any workable solutions. Using a scroll rect seems to make sense. You parent the text boxes to a parent rect which you can then scroll up and down. But the issue with that is that you need to resize the parent rect when it runs out of space, and instead of adding the new space to the bottom of the rect, the space gets added evenly between all of the child elements so that they maintain their relative positions within the parent object. That is not what I want. I've also looked into vertical layouts, but that seems to be more for static menus rather than dynamic UI and has similar problems with wanting to space out child elements. Do you know of any better ways to go about this, or better yet, an example project that implements something like this? And controlling UI elements through code in general seems to be a pain in the ass, so maybe there's something larger I'm missing?