]> source.dussan.org Git - vaadin-framework.git/commit
Ensure GridLayout rounds available space down instead of up (#15451)
authorArtur Signell <artur@vaadin.com>
Sun, 7 Jun 2015 20:06:45 +0000 (23:06 +0300)
committerHenri Sara <hesara@vaadin.com>
Sat, 4 Jul 2015 07:39:22 +0000 (10:39 +0300)
commitd5bf29478183a80ec9d2960e81199cc019f1f453
treeb874aefd656a399e2bb989615bc3dfba8e026f8b
parent340b84a7926714e30621b0ab3ac5ea579cfe4ce6
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: I15cf7edf829d629a2b012dd2f33e4315ccf6d164
client/src/com/vaadin/client/LayoutManager.java
client/src/com/vaadin/client/MeasuredSize.java
client/src/com/vaadin/client/WidgetUtil.java
client/src/com/vaadin/client/ui/VGridLayout.java
uitest/src/com/vaadin/tests/components/gridlayout/GridLayoutFractionalSizeAndAlignment.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/gridlayout/GridLayoutFractionalSizeAndAlignmentTest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/widgetset/client/ScrollableGridLayoutConnector.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/widgetset/server/ScrollableGridLayout.java [new file with mode: 0644]