summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java b/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
index 76fa8c6cc9..221680be11 100644
--- a/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
+++ b/uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
@@ -533,6 +533,8 @@ public class GridLayoutTests extends AbstractLayoutTests {
glo.replaceComponent(col1, col1 = new TextField("TEXTFIELD"));
glo.replaceComponent(col2, col2 = new Label("LABEL"));
+ // Make sure it doesn't shrink to 0px
+ col2.setWidth(null);
glo.replaceComponent(col3, col3 = new Link("LINK", null));
col1.setIcon(icons[0]);