Trying to make custom scoreboard

So I’ve got a gui that looks like this
image

and when adding a new team I would idealy like that new team to go under the current players for the first team. I was hoping I could do this with a UiListLayout element but it doesn’t seem to take into account the children of the parent frame which is annoying. Does anyone know a way which I could achieve this? Either by scripting or simple gui properties that I don’t know of.

Current object looks like this
image

Solved by using the automatic scale property on the frame