Godot Version
Gododt 4.4.1 stable
Question
How can I make the items in a Vbox container appear closer(by making them bigger) as they get to the top of the Vbox container, like this diagram
Gododt 4.4.1 stable
How can I make the items in a Vbox container appear closer(by making them bigger) as they get to the top of the Vbox container, like this diagram
As they are inside a VBoxContainer, changing their size
or scale
will have no affect. However, if you change their custom_minimum_size
, they will only be shrunk to the minimum size. If you put the star texture on a Control node that can stretch when it gets bigger, like a TextureRect, then the star will grow based on its size. Also, you can check their index to determine which one is closest to the top (lower means higher).