]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #1214
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 20 Dec 2007 16:32:09 +0000 (16:32 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 20 Dec 2007 16:32:09 +0000 (16:32 +0000)
svn changeset:3287/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
src/com/itmill/toolkit/terminal/gwt/public/default/table/table.css

index 6dd5a74ba1efc921478d80a1f47e0adbbc06c850..59096ecda644a2313adb7308144940ad1f61271f 100644 (file)
@@ -723,7 +723,7 @@ public class IScrollTable extends Composite implements Table, ScrollListener,
                 .getElementPropertyInt(getElement(), "offsetWidth") / 2 - 80)
                 + "px");
         DOM.setStyleAttribute(scrollPositionElement, "marginTop", -(DOM
-                .getElementPropertyInt(getElement(), "offsetHeight") / 2)
+                .getElementPropertyInt(getElement(), "offsetHeight") - 2)
                 + "px");
 
         int last = (firstRowInViewPort + pageLength);
index 745a4513386810d600dbc8d3fd0a0e805edad971..7bfa364cf688abe04914cf08722e52e6c97a3e82 100644 (file)
        width: 160px;
        height: 39px;
        background: transparent url(img/scroll-position-bg.png);
+       opacity: 0.5;
+       filter: alpha(opacity=50);
 }
 
 .i-table-scrollposition span {