title: GWT: Creating a scrollable FlexTable in a full-screen TabPanel
body: <p>I'd like to create a TabPanel that occupies the entire browser client area, and inside that put a FlexTable that scrolls if necessary. However, I'm having trouble acheiving this. I've tried:</p>
  
  <pre><code>public void onModuleLoad() {
      TabPanel test = new TabPanel();
      test.setSize("100%", "100%");
  
      FlexTable flex = new FlexTable();
      for (int i = 0; i &lt; 100; i++)
          flex.setText(i, 0, "test " + i);
  
      test.add(flex, "tab");
      flex.setStyleName("overflow-auto");
  
      test.selectTab(0);
      RootPanel.get().add(test);
      }
  </code></pre>
  
  <p>Where overflow-auto is defined as:</p>
  
  <pre><code>.overflow-auto {
      overflow: auto;
  }
  </code></pre>
  
  <p>Although the tab panel properly occupies 100% width, it ends up scaling its height to the interior FlexTable, rather than forcing scrollbars upon it. How can I make the client area of the tabpanel be independent of the size of its child here?</p>