aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-01-09 16:50:27 +0200
committerLeif Åstrand <leif@vaadin.com>2013-01-10 11:18:42 +0200
commit4516d864b1790b5433bae6eb509371cc39fadd2c (patch)
tree8cb70bcd9de27740f59998ca9a454e248c0c4399 /uitest/src/com/vaadin
parent909404f80d14bee2b070bb0d799fd83b60071ec2 (diff)
downloadvaadin-framework-4516d864b1790b5433bae6eb509371cc39fadd2c.tar.gz
vaadin-framework-4516d864b1790b5433bae6eb509371cc39fadd2c.zip
Avoid test component disappearing
Change-Id: Ida36348ba9ef9b6bfdf634353c48c027e344b898
Diffstat (limited to 'uitest/src/com/vaadin')
-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]);