]> source.dussan.org Git - vaadin-framework.git/commitdiff
Parent layouts updated to make height: 100% work for the tested
authorLeif Åstrand <leif@vaadin.com>
Tue, 10 Jan 2012 11:28:27 +0000 (13:28 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 10 Jan 2012 11:28:27 +0000 (13:28 +0200)
container

tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java

index 39cb766c85637e496e38c4256bfd1f3dbaa11730..85cc6ca5e1e6b87dc45be450817adf67534bd25b 100644 (file)
@@ -162,6 +162,9 @@ public class OrderedLayoutCases extends AbstractTestRoot {
         addComponent(currentLayout);
 
         getLayout().setSpacing(true);
+        getContent().setSizeFull();
+        getLayout().setSizeFull();
+        getLayout().setExpandRatio(currentLayout, 1);
     }
 
     private static NativeSelect createSimpleSelector(String caption,