I've been trying to create a combat log for my project. For this I made a scroll container with a vbox container as it's child, and added labels as children to the vbox container. For this work as I wanted the labels had to have autowrap On and a fixed minimun size.
This system functions with labels that I add in manually, but every label that I add in through code simply doesn't show up. I've done some testing and the labels seem to be added as children correctly, but you can't see them when the game is running. Also, with the exeption of the label I'm adding in the 'ready()', every time I try to add another I get this error:
E 0:00:04.947 addchild: Can't add child '@@2' to 'VBoxContainer', already has a parent 'h_scroll'.