]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use setHideEmptyRowsAndColumns to match old screenshots (#14392)
authorLeif Åstrand <leif@vaadin.com>
Sat, 30 Aug 2014 13:03:54 +0000 (16:03 +0300)
committerLeif Åstrand <leif@vaadin.com>
Sat, 30 Aug 2014 13:03:54 +0000 (16:03 +0300)
Change-Id: Ifd735d55c768c351359f0b65de05da0e701f099c

uitest/src/com/vaadin/tests/components/LayoutAttachListenerInfo.java
uitest/src/com/vaadin/tests/layouts/TestLayoutClickListeners.java

index b81570588315cbb220e898d51c5da33fefc3e945..e118558528c93ed038168b1d1fda9be7131517df 100644 (file)
@@ -122,6 +122,7 @@ public class LayoutAttachListenerInfo extends TestBase {
         final GridLayout g = new GridLayout(4, 4);
         g.setWidth("300px");
         g.setHeight("300px");
+        g.setHideEmptyRowsAndColumns(true);
         g.addComponentAttachListener(new ComponentAttachListener() {
             @Override
             public void componentAttachedToContainer(ComponentAttachEvent event) {
index c466d206090eda47cf3dfd9221f6629a78a2ecc3..22a37022c2a306d72a6892789b829857e39f0ac4 100644 (file)
@@ -106,6 +106,7 @@ public class TestLayoutClickListeners extends AbstractTestUIWithLog {
         gl.setWidth("564px");
         gl.setStyleName("borders");
         gl.setSpacing(true);
+        gl.setHideEmptyRowsAndColumns(true);
         addContent(gl, 4);
         TextArea largeTextarea = new TextArea("Large textarea");
         largeTextarea.setWidth("100%");