]> source.dussan.org Git - vaadin-framework.git/commitdiff
test case for #1443
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 25 Feb 2008 08:42:14 +0000 (08:42 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 25 Feb 2008 08:42:14 +0000 (08:42 +0000)
svn changeset:3904/svn branch:trunk

src/com/itmill/toolkit/tests/TestForTablesInitialColumnWidthLogicRendering.java

index 0d998a8d6f6c36031083067ac463b565feb148cf..7debb3bcc25161b1c73c623a3c5bf54e2581b702 100644 (file)
@@ -4,6 +4,7 @@
 
 package com.itmill.toolkit.tests;
 
+import java.util.Iterator;
 import java.util.Vector;
 
 import com.itmill.toolkit.ui.Button;
@@ -50,6 +51,18 @@ public class TestForTablesInitialColumnWidthLogicRendering extends
         t.setCaption("Table with  some cols and lot of rows");
         main.addComponent(t);
 
+        t = getTestTable(5, 5);
+        t
+                .setCaption("Table with  some cols and rows rows, some col widths fixed");
+
+        Iterator it = t.getContainerPropertyIds().iterator();
+        it.next();
+        it.next();
+        t.setColumnWidth(it.next(), 30);
+        t.setColumnWidth(it.next(), 30);
+        t.setWidth("700px");
+        main.addComponent(t);
+
         t = getTestTable(12, 4);
         t.setCaption("Table with  some rows and lot of columns");
         main.addComponent(t);