Horizontal layouts
There are two types of components in Vaadin: Layout components and non-layout components. We can put both, layout and non-layout components, into layout components. We have already used a layout component, VerticalLayout
, which allowed us to arrange components in a vertical fashion. What we want to do in this chapter is to build a user interface with a more sophisticated design, something like this:
You can think of this design as a big vertical layout containing an upper section and a lower section. The upper section contains only the header while the lower section contains a menu and a content area. These last components on the lower section are arranged not vertically but horizontally.