2 Replies Latest reply on May 17, 2011 7:38 AM by Drew747

    How to hide a tab, or why does have to be so complicated?




      I have a tabNavigator, and I am trying to hide some of the tabs.


      I have tried the obvioius

      visible="false" //this did not work

      includeInLayout="false" visible="false" //and this did not work and finally

      var secondTab = tabNavigator.getChildAt(1);

      secondTab.visible = false;

      secondTab.width = 0; // this hides the contents of the tab, but the tab is still visible.


      Why does it have to be so compliated, so unintuitive?