]> source.dussan.org Git - vaadin-framework.git/commitdiff
[merge from 6.7] Fixed layout to match test script and screenshots
authorAutomerge <automerge@vaadin.com>
Wed, 18 Apr 2012 13:21:22 +0000 (13:21 +0000)
committerAutomerge <automerge@vaadin.com>
Wed, 18 Apr 2012 13:21:22 +0000 (13:21 +0000)
svn changeset:23573/svn branch:6.8

tests/testbench/com/vaadin/tests/components/table/TestCurrentPageFirstItem.java

index 6e38f2a156515d8ad5f55f7a36afa6313bbf76db..2bc03f98143f1af84f93fed95bd7e760e0b59ffd 100644 (file)
@@ -24,7 +24,7 @@ public class TestCurrentPageFirstItem extends TestBase implements ClickListener
 
         HorizontalLayout baseLayout = new HorizontalLayout();
         baseLayout.setHeight("115px");
-        addComponent(baseLayout);
+        getMainWindow().setContent(baseLayout);
 
         for (int i = 0; i < tables.length; ++i) {
             Table t = new Table();