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 /shared | |
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 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java | 1 |
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; |