diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-12-17 11:29:23 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-12-17 11:29:51 +0200 |
commit | 03b01ed2f330ccbe49c6952306e6c15ba30c6b84 (patch) | |
tree | adc1283978b6a256737429f5b159ddf1ed965a95 /client/src | |
parent | 27231ed5c5ecf1760fb15f33a0c5e10e8cc03f27 (diff) | |
parent | a9f24b00e9ddcd5ca19ac2907e0bf2413f036af4 (diff) | |
download | vaadin-framework-03b01ed2f330ccbe49c6952306e6c15ba30c6b84.tar.gz vaadin-framework-03b01ed2f330ccbe49c6952306e6c15ba30c6b84.zip |
Merge remote-tracking branch 'origin/master' into grid
Change-Id: If3dd8380afe425491dfb877c08c4ff078312a3aa
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java | 15 |
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(); } } }; |