From: Leif Åstrand Date: Wed, 9 Jan 2013 14:50:27 +0000 (+0200) Subject: Avoid test component disappearing X-Git-Tag: 7.0.0.rc1~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4516d864b1790b5433bae6eb509371cc39fadd2c;p=vaadin-framework.git Avoid test component disappearing Change-Id: Ida36348ba9ef9b6bfdf634353c48c027e344b898 --- 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]);