How to collapse white space when hiding menu items

I am trying to hide some menu items in a horizontal menu, when I hide items that are in the middle I am left with gaps where the old item was, is there a way to collapse all to the left?

Thanks

Rich

Can you post some screenshots?
Is it in a module? a navigation component? in a Sidebar?

It's a module and nav component....

Wow, it was me being really pessimistic, for some reason I thought it wouldn't collapse, I tried it and it does. Hummm, not sure how I got this far with Retool being that stupid:-)

Thanks for quick reply Scott!

So you're good?

More than, thanks Scott