0
votes

I have a tabbar whose dataprovider is a viewstack and the viewstack contains a group of vbox containers. I am trying to hide one of the vboxes based on a certain condition but the tabbar still shows the corressponding tab for the hidden vbox. I set the visibilty and includeinlayout of the vbox to false but the tab still exists.

Thanks in advance

1

1 Answers

2
votes

Try to remove your container from the viewstack :

viewstack.removeChild(yourContainer)