From: Marc Englund Date: Mon, 29 Dec 2008 14:15:05 +0000 (+0000) Subject: Minor adjustment to Sampler (fussy logo replaced w/ another temp-logo) X-Git-Tag: 6.7.0.beta1~3440 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=598ac88d9246d94d6c2406057c0b5eeb7871c12b;p=vaadin-framework.git Minor adjustment to Sampler (fussy logo replaced w/ another temp-logo) svn changeset:6362/svn branch:trunk --- diff --git a/WebContent/ITMILL/themes/sampler/sampler/sampler.png b/WebContent/ITMILL/themes/sampler/sampler/sampler.png new file mode 100644 index 0000000000..bfec8a4986 Binary files /dev/null and b/WebContent/ITMILL/themes/sampler/sampler/sampler.png differ diff --git a/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java b/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java index 39286bf9d7..22403efd43 100644 --- a/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java +++ b/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java @@ -327,7 +327,7 @@ public class SamplerApplication extends Application { }); logo.setDescription("↶ Home"); logo.setStyleName(Button.STYLE_LINK); - logo.setIcon(new ThemeResource("sampler/logo.png")); + logo.setIcon(new ThemeResource("sampler/sampler.png")); logo.setWidth("160px"); return logo; } @@ -393,8 +393,10 @@ public class SamplerApplication extends Application { ModeSwitch m = new ModeSwitch(); m.addMode(currentList, "", "View as Icons", new ThemeResource( "sampler/grid.gif")); - m.addMode(currentList, "", "View as Icons", new ThemeResource( + /*- no CoverFlow yet + m.addMode(coverFlow, "", "View as Icons", new ThemeResource( "sampler/flow.gif")); + */ m.addMode(new FeatureTable(), "", "View as List", new ThemeResource("sampler/list.gif")); m.addListener(new ModeSwitch.ModeSwitchListener() {