anybody know an easier way to write this before I ...
# tornadofx
r
anybody know an easier way to write this before I start googling around
editor.textProperty().addListener { observable, oldValue, newValue -> okButton.isDisable = newValue.trim { it <= ' ' }.isEmpty() }