UMG toggling a horizontal box to be invisible leaves empty space in the UI

Hi,

I made a item tooltip for my inventory system, now I’m toggling some Horizontal Boxes in the tooltip to be invisible when the stat = 0. The problem I have is that this leaves empty space in my UI at the place where the stats that are 0 would be located if they were visible.

How can I make the visible horizontal boxes to push upwards and take in the empty space?

Thanks in advance!


Set the visibility to collapsed.

2 Likes

That worked, thanks for the quick answer!