Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to change .setMargin(true)?

Vaadin Student
6 years ago Sep 21, 2015 12:51pm
Johannes Häyry
6 years ago Sep 21, 2015 1:12pm
Francisco Serrano
6 years ago Sep 21, 2015 1:31pm
Johannes Häyry
6 years ago Sep 21, 2015 1:37pm

Yes using the valo variables is absolutely better. You would use the v-margin-x selectors only if you have some very specific layout or custom composition you want to have different margins from the common settings.

Vaadin Student
6 years ago Sep 21, 2015 5:03pm
Vaadin Student
6 years ago Sep 21, 2015 5:07pm
Johannes Häyry
6 years ago Sep 21, 2015 5:07pm
Vaadin Student
6 years ago Sep 21, 2015 5:23pm