nakamin
01/20/2017, 4:36 PMedvin
01/20/2017, 4:56 PMedvin
01/20/2017, 4:56 PMedvin
01/20/2017, 4:56 PMlutz
01/20/2017, 4:57 PMedvin
01/20/2017, 4:58 PMedvin
01/20/2017, 5:00 PMView("TestApp Title")
.
2. The root node can be built directly using override val root = form { }
- no need for the with(root) thing in init
3. The textfield builder takes the property as an argument: textfield(dataHolder.titleProperty())
- much simpler than first creating it and then binding towards the textProperty.
4. Instead of addListener
you can just do property.onChange {
. A lot less noise that way: textProperty().onChange { create() }
lutz
01/20/2017, 5:01 PMlutz
01/20/2017, 5:01 PMlutz
01/20/2017, 5:02 PMedvin
01/20/2017, 5:10 PMedvin
01/20/2017, 5:11 PMedvin
01/20/2017, 5:13 PMedvin
01/20/2017, 5:14 PMvoddan
01/20/2017, 5:14 PMedvin
01/20/2017, 5:15 PMvoddan
01/20/2017, 5:16 PMlutz
01/20/2017, 5:17 PMedvin
01/20/2017, 5:17 PMhastebrot
01/20/2017, 6:29 PMtornadofx.Stylesheet.Companion.button
over tornadofx.button
for auto-imports. I even can't select tornadofx.button
in the import context menu.hastebrot
01/20/2017, 6:30 PMRuckus
01/20/2017, 6:32 PMRuckus
01/20/2017, 6:32 PMhastebrot
01/20/2017, 6:33 PMtornadofx.button
instead of the stylesheet one.hastebrot
01/20/2017, 6:33 PMView
.Ruckus
01/20/2017, 6:34 PMhastebrot
01/20/2017, 6:34 PMjchildress
01/20/2017, 6:36 PMimport tornadofx.*
right away....