summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/Util.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/Util.java b/client/src/com/vaadin/client/Util.java
index 8a5712215d..206aa83c2b 100644
--- a/client/src/com/vaadin/client/Util.java
+++ b/client/src/com/vaadin/client/Util.java
@@ -556,10 +556,10 @@ public class Util {
final String oldHeight = scrollable.getStyle().getHeight();
scrollable.getStyle().setWidth(110, Unit.PCT);
- scrollable.getStyle().setHeight(110, Unit.PCT);
scrollable.getOffsetWidth();
- scrollable.getOffsetHeight();
scrollable.getStyle().setProperty("width", oldWidth);
+ scrollable.getStyle().setHeight(110, Unit.PCT);
+ scrollable.getOffsetHeight();
scrollable.getStyle().setProperty("height", oldHeight);
// Restore the scroll position