]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #2424, our iView is nosdays positioned -> no calculations needed anymore. Now...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 8 Jan 2009 13:59:29 +0000 (13:59 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 8 Jan 2009 13:59:29 +0000 (13:59 +0000)
svn changeset:6460/svn branch:trunk

WebContent/ITMILL/themes/default/common/common.css
WebContent/ITMILL/themes/default/styles.css
src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java

index c8266a59dad0170c2fc814fd958e9e90dfd199b1..8d5ca9544df06bf0c1c5f574bb88d318c1c65e50 100644 (file)
@@ -248,6 +248,14 @@ input.i-modified,
 .i-loading-indicator-wait {
        background: transparent url(img/loading-indicator-wait.gif);
 }
+.i-loading-indicator,
+.i-loading-indicator-delay,
+.i-loading-indicator-wait {
+       position: absolute;
+       top:6px;
+       right: 5px;     
+       z-index:30000;
+}
 
 /* debug dialog */
 .i-debug-console {
index 85c20202921ed497df81b9448297ae7d8e470edf..9b72dd829cd1ba6f7aa6be6f2484feb1cf186ecf 100644 (file)
@@ -416,6 +416,14 @@ input.i-modified,
 .i-loading-indicator-wait {
        background: transparent url(common/img/loading-indicator-wait.gif);
 }
+.i-loading-indicator,
+.i-loading-indicator-delay,
+.i-loading-indicator-wait {
+       position: absolute;
+       top:6px;
+       right: 5px;     
+       z-index:30000;
+}
 
 /* debug dialog */
 .i-debug-console {
index 82571ab29e2e8188e531c15eda153ab559d800d3..19287b7f045bea3db790826d76b7fde0136d868c 100755 (executable)
@@ -504,12 +504,6 @@ public class ApplicationConnection {
         }
         DOM.setElementProperty(loadElement, "className", "i-loading-indicator");
         DOM.setStyleAttribute(loadElement, "display", "block");
-        final int updatedX = Window.getScrollLeft() + view.getAbsoluteLeft()
-                + view.getOffsetWidth()
-                - DOM.getElementPropertyInt(loadElement, "offsetWidth") - 5;
-        DOM.setStyleAttribute(loadElement, "left", updatedX + "px");
-        final int updatedY = Window.getScrollTop() + 6 + view.getAbsoluteTop();
-        DOM.setStyleAttribute(loadElement, "top", updatedY + "px");
         // Initialize other timers
         loadTimer2 = new Timer() {
             @Override