From 4516d864b1790b5433bae6eb509371cc39fadd2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 9 Jan 2013 16:50:27 +0200 Subject: [PATCH] Avoid test component disappearing Change-Id: Ida36348ba9ef9b6bfdf634353c48c027e344b898 --- .../com/vaadin/tests/layouts/layouttester/GridLayoutTests.java | 2 ++ 1 file changed, 2 insertions(+) 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]); -- 2.39.5