From 6a4ab17fbc0ad777a7288bfe985834b5f073518b Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 18 Apr 2011 08:45:19 +0000 Subject: [PATCH] #6852 IE9: Table pagelength incorrectly calculated svn changeset:18346/svn branch:6.6 --- src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5