From 8476b57ce2261313f47b21764ddc02cc128b2fd4 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 8 Aug 2014 16:01:30 +0300 Subject: Add option for collapsing empty rows/columns in GridLayout (#14392) 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 --- shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java | 1 + 1 file changed, 1 insertion(+) (limited to 'shared') diff --git a/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java b/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java index 768183cf73..b84c2673f4 100644 --- a/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java +++ b/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java @@ -39,6 +39,7 @@ public class GridLayoutState extends AbstractLayoutState { public Set explicitRowRatios = new HashSet();; public Set explicitColRatios = new HashSet(); public Map childData = new HashMap(); + public boolean hideEmptyRowsAndColumns = false; public static class ChildComponentData implements Serializable { public int column1; -- cgit v1.2.3