summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractOrderedLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractOrderedLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractOrderedLayout.java b/server/src/com/vaadin/ui/AbstractOrderedLayout.java
index 77c7e3c826..67bcfc904c 100644
--- a/server/src/com/vaadin/ui/AbstractOrderedLayout.java
+++ b/server/src/com/vaadin/ui/AbstractOrderedLayout.java
@@ -485,7 +485,7 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
// handle children
for (Element childComponent : design.children()) {
Attributes attr = childComponent.attributes();
- Component newChild = designContext.createChild(childComponent);
+ Component newChild = designContext.readDesign(childComponent);
addComponent(newChild);
// handle alignment
int bitMask = 0;