Рет қаралды 6,571
In this tutorial, Marcus Hellberg teaches you everything you need to know about Vaadin Flow's VerticalLayout and HorizontalLayout. You can build essentially any kind of layout with these two building blocks.
TIP: Use the Vaadin Reference Card to quickly look up layouts while developing vaadin.com/vaadin-reference-card
0:00 - Intro
0:05 - What you'll learn
0:35 - Spacing, padding, and margin
2:46 - Sizing layouts
4:07 - Justifying components along the main axis
6:09 - Aligning items along the cross-axis
11:20 - Creating a gap between components
13:00 - Using flex and expand to grow items
15:03 - Building a complex layout with HorizontalLayout and VerticalLayout
20:06 - Outro