tornadofx v1.5.7 Release Notes

Release Date: 2016-10-21 // over 7 years ago
    • ๐Ÿ›  Fixed LayoutDebugger not showing debugged scene correctly (https://github.com/edvin/tornadofx/issues/192)
    • App.shouldShowPrimaryStage() can be used to initially hide the primary stage
    • Node.onDoubleClick handler
    • chooseDirectory function
    • ListView.bindSelected(itemProperty) and ListView.bindSelected(itemViewModel)
    • TableView.bindSelected(itemProperty) and TableView.bindSelected(itemViewModel)
    • โž• Added ItemViewModel to reduce boiler plate for ViewModels with one source object
    • ๐Ÿ‘ SortedFilteredList now supports editing writeback to the underlying observable list
    • โšก๏ธ View.replaceWith now updates scene property to support Live Views (https://github.com/edvin/tornadofx/issues/191)
    • ๐Ÿ‘ ViewModel bind return value is now optional to support eventually available items
    • ViewModel detects changes to the source object and applies to the model counterpart automatically
    • ViewModel bind(autocommit = true) { .. } option
    • Mnemonic in Field labels (form -> field -> input.mnemonicTarget())
    • โž• Added ItemFragment and ListCellFragment. Will add TableCellFragment etc shortly.
    • โž• Added TreeView.cellDecorator
    • Node.hide and Node.show
    • Node.toggleClass(class, observableBooleanValue)
    • โœ‚ Removed cell as this for cellCache. The cell could change, so taking it into account was a mistake.
    • App MainView parameter can now be a Fragment as well as View
    • ListView cellCache provider to create a cached graphic node per item
    • Kotlin 1.0.4
    • The di() delegate no longer calls out to the DIContainer for every access, effectively caching the lookup
    • The fxid() delegate can now inject any type, not just EventTarget subclasses
    • โž• Added non-null onChange overrides for primitive ObservableValues
    • ๐Ÿ›  Fixed bug with Node.fade reversed animations (was also affecting ViewTransitions)
    • ๐Ÿ—„ Deprecated confusing CSS add function if favor of and