diff options
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java b/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java index ff3c304600..d50952f070 100644 --- a/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java +++ b/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java @@ -176,7 +176,11 @@ public class OrderedLayoutCases extends TestBase { newLayout.setWidth(currentLayout.getWidth(), currentLayout.getWidthUnits()); + newLayout.setMargin(currentLayout.getMargin()); + newLayout.setSpacing(currentLayout.isSpacing()); + getLayout().replaceComponent(currentLayout, newLayout); + getLayout().setExpandRatio(newLayout, 1); currentLayout = newLayout; } }, "Horizontal", "Vertical")); |