1

I'm working in Java using the Vaadin framework.

I have a table with 14 columns. My problem is that that there's a small gap to the right of the last column, like the beginning of a new column that shouldn't be there..

The image shows the problem:

enter image description here

I've tried solving it with using column expand ratio on the last column, but this makes it abnormally big..

Do any of you know of a property you can use, CSS or Java, that makes the columns stretch over the entire width of the table without causing large column disproportion?

4

2 回答 2

1

This is known issue, it was closed already Ticket #6677

于 2011-10-06T17:02:37.357 回答
0

如果您将表格设置为全尺寸,则可能会缩小“差距”。

YourTable.setSizeFull();

我猜你在布局中布置了你的桌子。将此布局边距设置为 false 并删除间距。

于 2011-10-06T11:49:06.173 回答