change: `val age: SimpleIntegerProperty get() = Si...
# tornadofx
k
change:
val age: SimpleIntegerProperty get() = SimpleIntegerProperty(Period.between(birthday, LocalDate.now()).years)
into:
val age: IntegerBinding = Bindings.createIntegerBinding({Period.between(birthdayProperty().value, LocalDate.now()).years}, arrayOf(birthdayProperty()))
👍 1