From: Artur Signell Date: Mon, 18 Apr 2011 08:45:19 +0000 (+0000) Subject: #6852 IE9: Table pagelength incorrectly calculated X-Git-Tag: 6.7.0.beta1~328 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a4ab17fbc0ad777a7288bfe985834b5f073518b;p=vaadin-framework.git #6852 IE9: Table pagelength incorrectly calculated svn changeset:18346/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 3458058ed7..3e31f08b3d 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -4676,7 +4676,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, return; } - int rowHeight = (int) scrollBody.getRowHeight(); + int rowHeight = (int) Math.round(scrollBody.getRowHeight()); int bodyH = scrollBodyPanel.getOffsetHeight(); int rowsAtOnce = bodyH / rowHeight; boolean anotherPartlyVisible = ((bodyH % rowHeight) != 0);