FileTreeComponent: Custom Icons For File Type


#1

Is there any way we can have custom icons in FileTreeComponent? If not, it would be a useful thing to add. I'm going for kind of a Sublime Text with the Seti_UI theme look (with the hopes of making themes like Sublime Text).

Edit: I'm also curious if I can have some "empty" placeholder TreeViewItem act as the root Item in the FileTreeComponent. Then have the actual root in the Item below that. Similar to how it is in Sublime Text. I've tried doing this, but with no success.


#2

Can't remember if there's a lookandfeel for drawing the items, but if not you'd need to write your own tree class. Certainly if you want to add custom items to it then you'd certainly need to write a custom class.