summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-08-08 16:01:30 +0300
committerVaadin Code Review <review@vaadin.com>2014-08-21 05:37:44 +0000
commit8476b57ce2261313f47b21764ddc02cc128b2fd4 (patch)
treedfa2ded0e48cbed3a0b9611212c81c9bfbebf400 /shared
parenteb50df0edb0c6eb86620127f3aa99da557a02f2b (diff)
downloadvaadin-framework-8476b57ce2261313f47b21764ddc02cc128b2fd4.tar.gz
vaadin-framework-8476b57ce2261313f47b21764ddc02cc128b2fd4.zip
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
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java1
1 files changed, 1 insertions, 0 deletions
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<Integer> explicitRowRatios = new HashSet<Integer>();;
public Set<Integer> explicitColRatios = new HashSet<Integer>();
public Map<Connector, ChildComponentData> childData = new HashMap<Connector, GridLayoutState.ChildComponentData>();
+ public boolean hideEmptyRowsAndColumns = false;
public static class ChildComponentData implements Serializable {
public int column1;