VerticalLayout

Hi, programmers! I got some misunderstandings about VerticalLayout. When i add one VerticalLayout into another one their components (for example buttons) stand in a stairs not in one column. So, how can i make them to stand in a column.

For example:

Button1

  Button2

	  Button3

but i want them like:

Button1

Button2

Button3

The reason for that behavior is probably Margin on the Layout components (use layout.setMargin(false) to override the default).

Olli Tietäväinen:
The reason for that behavior is probably Margin on the Layout components (use layout.setMargin(false) to override the default).

Wow, that’s great. Thank you so much! You always help me:)