Resizing Vaadin Panel automatically

I have a Panel with an undefined width so that my content layout defines the size. After adding all of my components to my layout which is inside the Panel, the total width is 1200px. This view looks fine on my computer but i want the Panel and the contents in the panel to be defined by the window size and not from a fixed width (i.e 1200px).

What i am trying to achieve is having a Panel and the content of the panel be 100% automatic so that the buttons, forms, combo box components resize automatically to fit the user screen preference. Right now smaller screen size are out of luck unless i add a scroll bar to the panel. Is there a way to achieve this without setting overflow: hidden