]> source.dussan.org Git - vaadin-framework.git/commitdiff
improving css on column alignments and added some test stuff to FB
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 14 Feb 2007 10:20:24 +0000 (10:20 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 14 Feb 2007 10:20:24 +0000 (10:20 +0000)
svn changeset:714/svn branch:toolkit

src/com/itmill/toolkit/demo/features/FeatureTable.java

index 2351c557909854eaa3c10535b5283c4d491fc558..389dc1b1b10b301ea897c0bcd041751e9f6c8dac 100644 (file)
@@ -85,6 +85,10 @@ public class FeatureTable extends Feature implements Action.Handler {
                t.addContainerProperty("Age", String.class, "");
                t.addContainerProperty("Eyecolor", String.class, "");
                t.addContainerProperty("Haircolor", String.class, "");
+               
+               // set alignments to demonstrate features
+               t.setColumnAlignment("Age", Table.ALIGN_CENTER);
+               t.setColumnAlignment("Haircolor", Table.ALIGN_RIGHT);
 
                // Add random rows to table
                for (int j = 0; j < 300; j++) {