title: Vaadin: No Horizontal Scrollbar in HorizontalSplitPanel
body: <p>I have a HorizontalSplitPanel in my Vaadin app. How can I get a horizontal scrollbar when I resize my browser?</p>
  <p>In this Panel, I have a Menu on the left and the Content on the right.
  For the Content, I have a VerticalLayout for the MainLayout. This contains some HorizontalLayouts.</p>
  <p>In my Servlet class:</p>
  <pre><code>    private HorizontalSplitPanel split = new HorizontalSplitPanel();
      split.setSizeFull();
      ...
      private VerticalLayout mainLayout = new VerticalLayout();
      private HorizontalLayout xyz = new VerticalLayout();
      mainLayout.addComponent(xyz);
      split.addComponent(mainlayout);
  </code></pre>
  <p>Vaadin documentation for HorizontalSplitPanel says:</p>
  <ul>
  <li>If horizontal scroll bar is necessary, you could put the content in a Panel, which can have scroll bars in both directions.*</li>
  </ul>
  <p>So, I wanted to put my Mainlayout in a Panel and add the Panel to my Content Part (right side) of the HorizontalSplitPanel, BUT:
  I can ONLY add HorizontalLayouts to a Panel.</p>
  <p>This:</p>
  <pre><code>    Panel panel = new Panal();
      panel.addComponent(mainLayout);
  </code></pre>
  <p>does not work.</p>
  <p>Can anybody help me? I only found old answers from the Vaadin Forum, they won't work :(</p>