diff options
author | Anna Miroshnik <anna.miroshnik@arcadia.spb.ru> | 2014-11-14 13:46:12 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-15 11:05:10 +0000 |
commit | 60ddbbf566607cef5a67d35252c62629261933df (patch) | |
tree | 2bded3f699376638bd8d59f03c51bfa86e0ad9b5 /client/src | |
parent | e61ddefe447cc024f0c05144dae73c1cbd3a9b59 (diff) | |
download | vaadin-framework-60ddbbf566607cef5a67d35252c62629261933df.tar.gz vaadin-framework-60ddbbf566607cef5a67d35252c62629261933df.zip |
Delayed column layouting is visible (#15189)
Full Name of defect:
Regression: Table column jumps when table is shown and table is contained in a layout
Regression is a outcome of change due to #12672.
No TB4 test because problem happens too fast to be caught.
Change-Id: I9af5ed3c11e0fb673c7f2f1c5fd4739bd4b8c655
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(); } } }; |