Join Slack
Powered by
Looks like this library <https://github.com/codece...
# tornadofx
o
orangy
07/30/2018, 5:46 PM
Looks like this library
https://github.com/codecentric/javafxsvg
helps with loading images, but it’s still not displayed. Digging deeper.
f
fucata
07/31/2018, 12:27 PM
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
orangy
07/31/2018, 12:57 PM
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.
4
Views
Open in Slack
Previous
Next