Last node of a VBoxContainer inside a ScrollContainer not showing in-game

Godot Version

4.3

Question

This is a strange one that stumped even a friend who’s been doing the programming thing much longer.

I’ve created a list of level times and collectible status that generates on scene load, and it’s working almost perfectly, except that the data for the most recently added level is not in the list. On further investigation, it does show up in the list on the Remote view, totally visible and with no weirdness in its modulation. On hiding enough of the other nodes in the list, it becomes visible, but when enough are added back for the scroll bar to return it disappears again. I’m really at a loss on this one.


3-1 should be at the bottom, but the list scrolls no further


3-1 data is generated in the list, visibility is on and modulation is fully opaque


It only shows when enough nodes above it are hidden

for some reason its size is Vector2(0, 0), check anchors, or duplicate and edit that which works well

The size of every node in the list is set as 0,0 because they’re control nodes, all the stuff inside them are what have sizes.

have you tried to add a dull control node?

Damn, that actually worked, adding a totally empty control node scene after the code executed solved it. Thanks.