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 apply padding size on a GridLayout using CSS

Leandro Ambrosio
9 years ago Jun 15, 2012 1:59am
Jens Jansson
9 years ago Jun 15, 2012 9:08am

.my-amazing-style.v-gridlayout-spacing-on {
and
grid.setStyleName("my-amazing-style");
should do it.

Dilpreet Singh
7 years ago Sep 22, 2014 9:58am

Hi,Can you tell me how to  make the border of each cell darker through the same setStyle command?