Hey,
It really depends on what you want to have as icon. If you want to have just
file icons for all leaves, something like that could be a good idea. If you
want to change the icon depending on the object in your model, you can use a
binding to a property in the model. That way you could change the icon for
each tree item individually. Another nice idea could be the icon binding
depending on the length of the childrens array of your tree model. Bind the
icon path the "kids.length" for example and write a converter for the icon
binding which converts the number to the icon.
These are only some ideas that could help.
Regards,
Martin
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/How-to-create-TreeFile-instead-of-TreeFolder-in-the-leaf-nodes-using-Tree-Controller-tp5181120p5185096.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to