Looks like this library <https://github.com/codece...
# tornadofx
o
Looks like this library https://github.com/codecentric/javafxsvg helps with loading images, but it’s still not displayed. Digging deeper.
f
You can display the svg as a node. Check out the link of ImageLoader, and the dependencies at build.gradle https://github.com/WycliffeAssociates/8woc2018-jvm/blob/imageLoader/src/main/kotlin/app/ui/ImageLoader.kt
o
I’ve since fixed it. The culprit was using wrong property:
icon
instead of correct
graphics
. And then TreeItem constructor with graphics parameter didn’t work as well, because an item is cleared when binding kicks in.