Request: Item's images in TreeView component?


#1

Hello Julian :slight_smile:

Am I missed something? Are there any possibilities to add images in TreeView?


#2

Hi. Well yes, you can draw anything you want in a treeview, so adding images is no problem…


#3

Ok. I got it. Can you include the approach into your demo app?


#4

Maybe, if I get time. It’s very very easy though - you just draw the image with Graphics::drawImageWithin().


#5

Yes. Thank you the kind soul :).
I’ve looked through the demo sources and seen the way you’ve written.
You are the genius! Do you already know that? :slight_smile:


#6

Yeah, I knew that already. Ta. :wink:


#7