summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
index f7d85f1a3c..90a9191036 100644
--- a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
+++ b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java
@@ -10,14 +10,10 @@ public class TableHeaderZoom extends TestBase {
@Override
protected void setup() {
Table table = new Table();
- table.setHeight("400px");
- table.setWidth("400px");
+ table.setHeight("100px");
+ table.setWidth("200px");
+ table.setEnabled(false);
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());