summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-04-06 13:32:45 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-04-06 12:32:45 +0200
commit72b4fbebe5c977d02bfec97d81025aeba873ed82 (patch)
tree66c0acdac9cd4fc1e78c647ed1de30c88893f96e
parent6ad53c7d6679cc60961d07ed0766b679795ac8a8 (diff)
downloadvaadin-framework-72b4fbebe5c977d02bfec97d81025aeba873ed82.tar.gz
vaadin-framework-72b4fbebe5c977d02bfec97d81025aeba873ed82.zip
Send view width as width and not height
-rw-r--r--client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java b/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java
index f4712a373f..96e7aa1498 100644
--- a/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java
@@ -215,8 +215,8 @@ public class UIConnector extends AbstractSingleComponentContainerConnector
getWidget().addResizeHandler(new ResizeHandler() {
@Override
public void onResize(ResizeEvent event) {
- getRpcProxy(UIServerRpc.class).resize(event.getHeight(),
- event.getWidth(), Window.getClientWidth(),
+ getRpcProxy(UIServerRpc.class).resize(event.getWidth(),
+ event.getHeight(), Window.getClientWidth(),
Window.getClientHeight());
getConnection().getServerRpcQueue().flush();
}