From: Matti Tahvonen Date: Thu, 20 Dec 2007 16:32:09 +0000 (+0000) Subject: fixes #1214 X-Git-Tag: 6.7.0.beta1~5204 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d24c08c4e0e6adc4b572c33a6fe2fd88f65abc8;p=vaadin-framework.git fixes #1214 svn changeset:3287/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java index 6dd5a74ba1..59096ecda6 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java @@ -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); diff --git a/src/com/itmill/toolkit/terminal/gwt/public/default/table/table.css b/src/com/itmill/toolkit/terminal/gwt/public/default/table/table.css index 745a451338..7bfa364cf6 100644 --- a/src/com/itmill/toolkit/terminal/gwt/public/default/table/table.css +++ b/src/com/itmill/toolkit/terminal/gwt/public/default/table/table.css @@ -147,6 +147,8 @@ width: 160px; height: 39px; background: transparent url(img/scroll-position-bg.png); + opacity: 0.5; + filter: alpha(opacity=50); } .i-table-scrollposition span {