]> source.dussan.org Git - vaadin-framework.git/commitdiff
Sampler minor styling.
authorMarc Englund <marc.englund@itmill.com>
Fri, 9 Jan 2009 06:57:32 +0000 (06:57 +0000)
committerMarc Englund <marc.englund@itmill.com>
Fri, 9 Jan 2009 06:57:32 +0000 (06:57 +0000)
svn changeset:6469/svn branch:trunk

WebContent/ITMILL/themes/sampler/sampler/styles.css
src/com/itmill/toolkit/demo/sampler/SamplerApplication.java

index de2a186a5589b5d411faecbf63c51b46d19b8da2..105273abc749a6a6ba0310ce34bac1fb687a89f5 100644 (file)
        margin-left: -3px;
 }
 
+.i-app-SamplerApplication tr.i-table-row,
+.i-app-SamplerApplication tr.i-table-row-odd {
+       height: 50px;
+}
 .i-app-SamplerApplication tr.i-table-row-section {
        color: #333366;
        font-size: 18px;
index f584c0e881d7210cea85b325a14ff6da8ceb0c66..13d09bd6d14f67e6397ec2f66b302f7a462a1cb3 100644 (file)
@@ -546,6 +546,10 @@ public class SamplerApplication extends Application {
                         public Component generateCell(Table source,
                                 Object itemId, Object columnId) {
                             Feature f = (Feature) itemId;
+                            if (f instanceof FeatureSet) {
+                                // no icon for sections
+                                return null;
+                            }
                             Resource res = new ClassResource(f.getClass(), f
                                     .getIconName(), SamplerApplication.this);
                             Embedded emb = new Embedded("", res);