Component spacing when visibility=False

Hi all,

I’ve got a little search bar here that sets some components’ visibility to False based on what is typed.

As you can see, once filtered, the unseen components still appear to take up space and so the visible components are spaced oddly.

Is there a better way to achieve a nice linear flow here when the search is active? I do not want to remove the components altogether since I have to maintain their state. But perhaps I am approaching this incorrectly.

Solved by the above link. Thanks @shaun

1 Like