diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-02-28 15:02:53 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-02-28 15:15:13 +0200 |
commit | 0b9750bfd02ea5709098a33851b0b768a90e51af (patch) | |
tree | 7477180f679e94dec87616750ecf3e61f5418dd6 | |
parent | d8558015efd7ee3feb8f3987fda300c2edafb842 (diff) | |
download | vaadin-framework-0b9750bfd02ea5709098a33851b0b768a90e51af.tar.gz vaadin-framework-0b9750bfd02ea5709098a33851b0b768a90e51af.zip |
Add some missing dirty state updates (#8313)
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/LayoutManager.java | 1 | ||||
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/LayoutManager.java b/src/com/vaadin/terminal/gwt/client/LayoutManager.java index b362d140f2..3adfc017fd 100644 --- a/src/com/vaadin/terminal/gwt/client/LayoutManager.java +++ b/src/com/vaadin/terminal/gwt/client/LayoutManager.java @@ -240,6 +240,7 @@ public class LayoutManager { for (Element element : nonPaintableElements) { MeasuredSize measuredSize = getMeasuredSize(element, null); measuredAndUpdate(element, measuredSize); + measuredSize.clearDirtyState(); } } diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java index d3cbddd57e..079cc4eb3b 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java @@ -46,6 +46,7 @@ public abstract class AbstractOrderedLayoutConnector extends caption.updateCaption(uidl); } else { layout.setCaption(component.getWidget(), null); + getLayoutManager().setNeedsUpdate(this); } } |