title: Vaadin - set window size to wrap its contents
body: <p>I have a custom window that extends <strong>com.vaadin.ui.Window</strong>, inside the window I put <strong>com.vaadin.ui.TabSheet</strong> and into the TabSheet couple of custom components that extend <strong>com.vaadin.ui.VerticalLayout</strong>.</p>
  
  <p>Everything is correctly placed inside, but the window appears totally minimized. How to extend it to show all contents properly, but without using <strong>.setSizeFull()</strong> as I dont want to stretch it to whole screen?</p>
  
  <p>I tried <strong>.setSizeFull()</strong> to TabSheet and its contents, but that didn't helped at all.</p>
  
  <p>Setting custom height and width for the Window works, but this is not what I intend to do...</p>