summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-05-11 22:47:07 +0300
committerVaadin Code Review <review@vaadin.com>2016-05-16 09:51:09 +0000
commit7d2d091ecbb0b995dc46074725eabb456609cdf3 (patch)
tree90e89cb767f919f82e6e062404a437c0e3055790 /shared
parente386748dbc487d264caae0c98bcf5cffbe43d4a2 (diff)
downloadvaadin-framework-7d2d091ecbb0b995dc46074725eabb456609cdf3.tar.gz
vaadin-framework-7d2d091ecbb0b995dc46074725eabb456609cdf3.zip
Eliminate rounding errors for GridLayout expand ratios (#19797)
Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutState.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
index b84c2673f4..7d637aa33f 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
@@ -40,6 +40,8 @@ public class GridLayoutState extends AbstractLayoutState {
public Set<Integer> explicitColRatios = new HashSet<Integer>();
public Map<Connector, ChildComponentData> childData = new HashMap<Connector, GridLayoutState.ChildComponentData>();
public boolean hideEmptyRowsAndColumns = false;
+ public float[] rowExpand;
+ public float[] colExpand;
public static class ChildComponentData implements Serializable {
public int column1;