]> source.dussan.org Git - vaadin-framework.git/commitdiff
Set the expansion ratio to the right child (#8053)
authorLeif Åstrand <leif@vaadin.com>
Mon, 9 Jan 2012 12:08:14 +0000 (14:08 +0200)
committerLeif Åstrand <leif@vaadin.com>
Mon, 9 Jan 2012 12:08:14 +0000 (14:08 +0200)
tests/testbench/com/vaadin/tests/components/AbstractTestRoot.java

index 5866168474ca5044d2250a6619297df695437f30..eb27d18ca06eda3e38ab7eea0ecd515132ab57f1 100644 (file)
@@ -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);
     }