HUD - hide one component and make the other one take the whole remaining space

Instead of Hiding it, Collapse it.

Alternatively, you could set its Fill Size to 0.

1 Like

Hello,

I have 2 scroll box in a vertical box

in the blueprint, I use “set visibility” to hide one scroll box and show the other one

but the visible scrollbox does not take the remaining of the vertical pace of the hidden component

it just stays there

how can I achieve this ?

thanks

already checked , there is no way to sett the fill using blueprint
I just try to emulate a tabs header, using buttons to show one component or another

there is also no way to collapse the component

thanks it works

You might also want to look at the WidgetSwitcher.
See here:

It works like “Tabs” but without tabs…

there is also no way to collapse the
component

Set Visibility → Collapsed

already checked , there is no way to
sett the fill using blueprint

Ofc there is. Get Slot → Set Fill: