title: Set vaadin table height to fit contents
body: <p>I use CustomLayout in my project to separate UI object and their style.</p>
  
  <p>I have some problem with tables.</p>
  
  <p>I define a div and I want the table's height set to div's height.</p>
  
  <p>Which is the best way?</p>
  
  <p>I thought:</p>
  
  <pre><code>table.setsizeFull() ;
  table.setPageLength(0);
  </code></pre>
  
  <p>in the code, but the result is not what I want.
  I want the table full sized in div's dimensions, both with or without elements inside.</p>
  
  <p>Any suggest? </p>