summaryrefslogtreecommitdiffstats
path: root/client/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-07-13 22:37:21 +0300
committerArtur Signell <artur@vaadin.com>2015-07-13 23:20:26 +0300
commitd11b90c8ed3aa63f920e17675275c014f670f759 (patch)
tree38fd04c52e03c645881c1c3b01d8453690493afb /client/src
parenta3ee899a2db8b8b993f7f7a4e21039f0fe0aee08 (diff)
downloadvaadin-framework-d11b90c8ed3aa63f920e17675275c014f670f759.tar.gz
vaadin-framework-d11b90c8ed3aa63f920e17675275c014f670f759.zip
Reconnect dialog basic css for all themes (#11733)
Change-Id: I070cca17377dc49095481012717bab8931fb375b
Diffstat (limited to 'client/src')
-rw-r--r--client/src/com/vaadin/client/communication/DefaultReconnectDialog.java5
-rw-r--r--client/src/com/vaadin/client/communication/DefaultReconnectDialog.ui.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/communication/DefaultReconnectDialog.java b/client/src/com/vaadin/client/communication/DefaultReconnectDialog.java
index 60ecce8ae0..301967495b 100644
--- a/client/src/com/vaadin/client/communication/DefaultReconnectDialog.java
+++ b/client/src/com/vaadin/client/communication/DefaultReconnectDialog.java
@@ -82,4 +82,9 @@ public class DefaultReconnectDialog extends VOverlay implements ReconnectDialog
setOwner(connection.getUIConnector().getWidget());
show();
}
+
+ @Override
+ public void setPopupPosition(int left, int top) {
+ // Don't set inline styles for position, handle it in the theme
+ }
}
diff --git a/client/src/com/vaadin/client/communication/DefaultReconnectDialog.ui.xml b/client/src/com/vaadin/client/communication/DefaultReconnectDialog.ui.xml
index 885588f8a5..90e92eaeb6 100644
--- a/client/src/com/vaadin/client/communication/DefaultReconnectDialog.ui.xml
+++ b/client/src/com/vaadin/client/communication/DefaultReconnectDialog.ui.xml
@@ -3,9 +3,9 @@
<g:HTMLPanel>
+ <div class="spinner" />
<g:Label ui:field="label" styleName="text"
text="Server connection lost, trying to reconnect..." />
- <div class="spinner" />
</g:HTMLPanel>
</ui:UiBinder>