Hi
I would like to use multiple icons in a tree (see attached image) but only the last one is displayed.
So I was wondering if it is possible to use multiple icons in a tree.
Sample of the code I am currently using:
final HierarchicalContainer cont = new HierarchicalContainer();
cont.addContainerProperty("folder-add", Resource.class, new ThemeResource("../runo/icons/16/folder-add.png"));
cont.addContainerProperty("cancel", Resource.class, new ThemeResource("../runo/icons/16/cancel.png"));
cont.addContainerProperty("reload", Resource.class, new ThemeResource("../runo/icons/16/reload.png"));
cont.addContainerProperty("caption", String.class, null);
Tree tree = new Tree();
tree.setContainerDataSource(cont);
tree.setItemIconPropertyId("folder-add");
tree.setItemIconPropertyId("cancel");
tree.setItemIconPropertyId("reload");
tree.setItemCaptionPropertyId("caption");
Only the reload button is displayed.