summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-12-17 10:27:20 +0000
committerVaadin Code Review <review@vaadin.com>2014-12-17 10:27:21 +0000
commit7d328c3ab7d4dd74508c805bb134cd23c7d35227 (patch)
tree14f5def74b4730c04e6be0e3f8b2b90d7267c3e5 /client
parentd7b53ac3590f9c01873b3ef7acb995517790c412 (diff)
parent03b01ed2f330ccbe49c6952306e6c15ba30c6b84 (diff)
downloadvaadin-framework-7d328c3ab7d4dd74508c805bb134cd23c7d35227.tar.gz
vaadin-framework-7d328c3ab7d4dd74508c805bb134cd23c7d35227.zip
Merge "Merge remote-tracking branch 'origin/master' into grid" into grid
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
index aace349392..0c09ae49c6 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
@@ -152,20 +152,7 @@ public abstract class AbstractOrderedLayoutConnector extends
public void onElementResize(ElementResizeEvent e) {
updateLayoutHeight();
if (needsExpand()) {
- /*
- * updateLayoutHeight causes calling of
- * getLayoutManager().setNeedsMeasure(this) which informs this
- * LayoutManager that the size of a component might have
- * changed. Then a new layout phase is scheduled. So
- * updateExpandCompensation must be delayed until layout phase
- * will be completed. #12672
- */
- Scheduler.get().scheduleFinally(new ScheduledCommand() {
- @Override
- public void execute() {
- getWidget().updateExpandCompensation();
- }
- });
+ getWidget().updateExpandCompensation();
}
}
};