Download

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!

ec8e9286576e23270940b67c42a575cf69366a48.png
WidgetSpacing.png

Set the visibility to collapsed.

That worked, thanks for the quick answer!