HorizontalLayout spacing ?

Hi,

i created a HorizontalLayout with width = 100% and Height = 30 Pixels.
Now i want add some buttons to this layout with addComponents.
My Problem is the space between this buttons. How can i define a custom space like 10 pixels or percent between each button ? I use Vaadin 8.

Hi Martin,

custom spacing can be set with css.


Layout Docs

Take a look at the section [b]
“Spacing in Ordered Layouts”

regards

Johannes
[/b]

Has no one an idea ?