Hi,
A Vaadin
table using CSS padding is cropped when used with a fixed size
.
Suppose the following piece of code:
final Table table = new Table();
table.setHeight("200px");
table.addStyleName("marginexample");
...
And the CSS style associated:
.v-table-marginexample {
padding-top:50px;
padding-left:50px;
}
Is there a way to avoid that kind of issue? I used CSS margin but in the Vaadin book it’s recommended to use padding and not margin to avoid size computations…
François.