So I made myself a function and now it looks like ...
# tornadofx
o
So I made myself a function and now it looks like this:
Copy code
bindTree(modelProperty,
                    {
                        TreeItem(it).apply { isExpanded = true }
                    },
                    {
                        (it as? ContainerItem)?.children
                    }
            )
And it binds stuff, initializes, etc
👍 1
2