diff options
author | Artur Signell <artur@vaadin.com> | 2014-08-08 16:01:30 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-21 08:40:04 +0300 |
commit | 78d3a753ac456af17893218f473c4f871bf07f60 (patch) | |
tree | 71455d91a2c5e4c901290d061d0ce11c23d04489 /uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java | |
parent | 6fd430698596f7344e05f87ba503063100c5ff50 (diff) | |
download | vaadin-framework-78d3a753ac456af17893218f473c4f871bf07f60.tar.gz vaadin-framework-78d3a753ac456af17893218f473c4f871bf07f60.zip |
Add option for collapsing empty rows/columns in GridLayout (#14392)7.3.0.rc1
This reverts the new default behavior introduced in fix for #8855.
If you want empty rows/columns to be ignored when rendering,
use GridLayout.setHideEmptyRowsAndColumns(true)
Change-Id: I38a8717d79cec7739b649174654b615db9d8dc7e
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java b/uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java index 4f5b29c91f..1da2322dc9 100644 --- a/uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java +++ b/uitest/src/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java @@ -2,9 +2,12 @@ package com.vaadin.tests.components.gridlayout; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUI; -import com.vaadin.tests.components.TestBase; -import com.vaadin.ui.*; +import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; +import com.vaadin.ui.ComponentContainer; +import com.vaadin.ui.GridLayout; +import com.vaadin.ui.Label; +import com.vaadin.ui.VerticalLayout; public class MoveComponentsFromGridLayoutToInnerLayout extends AbstractTestUI { @@ -15,6 +18,7 @@ public class MoveComponentsFromGridLayoutToInnerLayout extends AbstractTestUI { @Override protected void setup(VaadinRequest request) { gl = new GridLayout(); + gl.setHideEmptyRowsAndColumns(true); gl.setWidth("200px"); gl.setHeight("200px"); |