]> source.dussan.org Git - vaadin-framework.git/commitdiff
Avoid test component disappearing 13/613/1
authorLeif Åstrand <leif@vaadin.com>
Wed, 9 Jan 2013 14:50:27 +0000 (16:50 +0200)
committerLeif Åstrand <leif@vaadin.com>
Thu, 10 Jan 2013 09:18:42 +0000 (11:18 +0200)
Change-Id: Ida36348ba9ef9b6bfdf634353c48c027e344b898

uitest/src/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java

index 76fa8c6cc9ed0ea3d9fbf921adb4333f8d2a1788..221680be114bb07cd0927e09d2876fd7365a5165 100644 (file)
@@ -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]);