From 0f3977a5a956d6b629e05aedcb6891c5fbc308e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Mon, 9 Jan 2012 14:08:14 +0200 Subject: [PATCH] Set the expansion ratio to the right child (#8053) --- .../testbench/com/vaadin/tests/components/AbstractTestRoot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testbench/com/vaadin/tests/components/AbstractTestRoot.java b/tests/testbench/com/vaadin/tests/components/AbstractTestRoot.java index 5866168474..eb27d18ca0 100644 --- a/tests/testbench/com/vaadin/tests/components/AbstractTestRoot.java +++ b/tests/testbench/com/vaadin/tests/components/AbstractTestRoot.java @@ -24,7 +24,7 @@ public abstract class AbstractTestRoot extends Root { getContent().addComponent(label); getContent().addComponent(layout); - ((VerticalLayout) getContent()).setExpandRatio(label, 1); + ((VerticalLayout) getContent()).setExpandRatio(layout, 1); setup(request); } -- 2.39.5