]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixed test description and enhanced test
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 23 Apr 2009 13:24:26 +0000 (13:24 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 23 Apr 2009 13:24:26 +0000 (13:24 +0000)
svn changeset:7510/svn branch:6.0

src/com/itmill/toolkit/tests/components/table/ColumnWidths.java

index af03414db53b6672d1b213a73ce016f34973d003..1d7f9cc6fc643b7c980c19b1cb5f75d933a851cd 100644 (file)
@@ -14,7 +14,8 @@ public class ColumnWidths extends TestBase {
                 + "columns (by server or user (dragged)) columns "
                 + "must consume the excess space. Space is divided "
                 + "by default according to natural widths of columns."
-                + " Lastname should get 1/3 of excess spsace, the las column 2/3.";
+                + "In example last column is fixed width. Other columns"
+                + " should divide excess space relatively to 'natural' width unless user has resized column.";
 
     }
 
@@ -58,7 +59,7 @@ public class ColumnWidths extends TestBase {
         table.setContainerDataSource(idx);
 
         table.setColumnHeader("firstname", "FirstName");
-        table.setColumnHeader("lastname", "LastName");
+        table.setColumnHeader("lastname", "LastName with long header");
 
         table.setColumnWidth("150pxfixedCol", 150);