diff options
author | Artur <artur@vaadin.com> | 2017-04-06 13:32:45 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2017-04-06 12:32:45 +0200 |
commit | 72b4fbebe5c977d02bfec97d81025aeba873ed82 (patch) | |
tree | 66c0acdac9cd4fc1e78c647ed1de30c88893f96e | |
parent | 6ad53c7d6679cc60961d07ed0766b679795ac8a8 (diff) | |
download | vaadin-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.java | 4 |
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(); } |