leftPanel.setWidth(300, Sizeable.UNITS_PIXELS);
showHideButton0.addListener(leftPanelTrigger);
showHideButton1.addListener(leftPanelTrigger);
showHideButton2.addListener(leftPanelTrigger);
ComponentContainer viewContainer = viewController.getViewContainer();
horizontalLayout.setWidth(100,Sizeable.UNITS_PERCENTAGE);
horizontalLayout.addComponent(leftPanel);
horizontalLayout.addComponent(viewContainer);
horizontalLayout.setExpandRatio(viewContainer,1.0f);