From: Artur Signell Date: Sun, 7 Jun 2015 20:06:45 +0000 (+0300) Subject: Ensure GridLayout rounds available space down instead of up (#15451) X-Git-Tag: 7.6.0.alpha2~6^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=914eafd5fe7d43290abe0b6b07678df0a8f45ee0;p=vaadin-framework.git Ensure GridLayout rounds available space down instead of up (#15451) Store measured widths and heights as doubles to be able to round later Change-Id: Id0e91702dd62ba362f53317e8520f85b46f19769 --- diff --git a/client/src/com/vaadin/client/LayoutManager.java b/client/src/com/vaadin/client/LayoutManager.java index 3f189bcea8..102e618f5e 100644 --- a/client/src/com/vaadin/client/LayoutManager.java +++ b/client/src/com/vaadin/client/LayoutManager.java @@ -946,7 +946,7 @@ public class LayoutManager { * given element, provided that it has been measured. These elements are * guaranteed to be measured: *