Ah, if I switch from `Application.launch(MyApp::cl...
# tornadofx
i
Ah, if I switch from
Application.launch(MyApp::class.java, *args)
to
launch<MyApp>(args)
, it now picks up
operator fun EventTarget.plusAssign(node: Node) { addChildIfPossible(node)}
for
+=
from Nodes.kt, and works!
Copy code
import javafx.scene.control.Button
import javafx.scene.layout.VBox
import tornadofx.*

fun main(args: Array<String>) {
	launch<MyApp>(args)
}

class MyApp : App(MyView::class)

class MyView : View() {
	override val root = VBox()

	init {
		root += Button("Press Me")
	}
}