private static VerticalLayout createFullSizeVerticalLayout ( final boolean margin , final boolean spacing ) { final VerticalLayout layout = new VerticalLayout ( ) ; layout . setMargin ( margin ) ; layout . setSpacing ( spacing ) ; layout . setWidth ( 100 , Unit . PERCENTAGE ) ; layout . setHeight ( 100 , Unit . PERCENTAGE ) ; return layout ; }
Creates the full size vertical layout .