summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
index 90a9191036..f7d85f1a3c 100644
--- a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
+++ b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
@@ -10,10 +10,14 @@ public class TableHeaderZoom extends TestBase {
@Override
protected void setup() {
Table table = new Table();
- table.setHeight("100px");
- table.setWidth("200px");
- table.setEnabled(false);
+ table.setHeight("400px");
+ table.setWidth("400px");
table.addContainerProperty("Column 1", String.class, "");
+ table.addContainerProperty("Column 2", String.class, "");
+
+ for (int i = 0; i < 100; ++i) {
+ table.addItem(new Object[] { "" + i, "foo" }, i);
+ }
Window main = getMainWindow();
main.setContent(new CssLayout());