]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6852 IE9: Table pagelength incorrectly calculated
authorArtur Signell <artur.signell@itmill.com>
Mon, 18 Apr 2011 08:45:19 +0000 (08:45 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 18 Apr 2011 08:45:19 +0000 (08:45 +0000)
svn changeset:18346/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index 3458058ed7833645c711fcef49eb204234885869..3e31f08b3daddf84c3f9f25d113a2b9718cb56c6 100644 (file)
@@ -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);