title: Flex hide tab in TabNavigator
body: <p>How to hide a tab in TabNavigator and also remove the empty space from it?</p>
  
  <p>Example code:</p>
  
  <pre><code>&lt;mx:TabNavigator id="TabNavigator"&gt;
          &lt;s:NavigatorContent id="tab1" label="Tab 1"&gt;
          &lt;/s:NavigatorContent&gt;
          &lt;s:NavigatorContent id="tab2" label="Tab 2"&gt;
          &lt;/s:NavigatorContent&gt;
          &lt;s:NavigatorContent id="tab3" label="Tab 3"&gt;
          &lt;/s:NavigatorContent&gt;
  &lt;/mx:TabNavigator&gt;
  </code></pre>
  
  <p>We can hide a tab via <code>TabNavigator.getTabAt(1).visible = false;</code>. But this will left an empty space between <code>Tab 1</code> and <code>Tab3</code>. I don't want to use <code>TabNavigator.removeChildAt(1);</code> because the program may need to show <code>Tab 2</code> again.</p>
  
  <p>So, how to temporary remove a tab in TabNavigator and also the empty space from it?</p>
  
  <p>Thank you.</p>