Layout group hates being instantiated, problem

Hello there!

So, I am using layout groups to display all quests in a kind of journal (please see this gif: spicyjaggedbittern). However, the vertical layout group breaks as soon as I instantiate more elements to it. As soon as I play around with the values of any of the elements in the inspector, it jumps to the right layout though, as you can see in the last second.

I already tried to fix it by calling canvas.ForceUpdateCanvas(), but that lead to no changes what so ever.

Any ideas?

Found this post:

while that didn’t work, a permanent call in update (GetComponent().sizeDelta += new Vector2(0, Time.deltaTime / 10):wink: did the trick.