diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 22:10:23 +0200 |
---|---|---|
committer | Mika Murtojarvi <mika@vaadin.com> | 2014-12-16 15:58:58 +0200 |
commit | 0de94d55c9c04aa93b66e6d6a83935d9ed25da5e (patch) | |
tree | 1decae8b19c0cd00ec18ee5daa79624a043f32c9 /server/src/com/vaadin/ui/AbstractOrderedLayout.java | |
parent | 6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7 (diff) | |
download | vaadin-framework-0de94d55c9c04aa93b66e6d6a83935d9ed25da5e.tar.gz vaadin-framework-0de94d55c9c04aa93b66e6d6a83935d9ed25da5e.zip |
Generic cleanup (#7749)
Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractOrderedLayout.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbstractOrderedLayout.java b/server/src/com/vaadin/ui/AbstractOrderedLayout.java index c347449ab8..ae8f3198bf 100644 --- a/server/src/com/vaadin/ui/AbstractOrderedLayout.java +++ b/server/src/com/vaadin/ui/AbstractOrderedLayout.java @@ -539,14 +539,13 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements design.attr("margin", ""); } // handle children - Element designElement = design; if (!designContext.shouldWriteChildren(this, def)) { return; } for (Component child : this) { Element childElement = designContext.createElement(child); - designElement.appendChild(childElement); + design.appendChild(childElement); // handle alignment Alignment alignment = getComponentAlignment(child); if (alignment.isMiddle()) { |