tornadofx v1.5.8 Release Notes

Release Date: 2016-11-24 // over 7 years ago
    • WritableValue.assignIfNull(creatorFn) assigns to the value by calling creator unless it is already non-null
    • Button.accelerator(KeyCombination) adds shortcuts to buttons (https://github.com/edvin/tornadofx/issues/205)
    • ๐Ÿ— Slideshow component and slideshow builder
    • openInternalWindow(SomeOtherView::class) opens a window ontop of the current scene graph
    • bindStringProperty respects given format (https://github.com/edvin/tornadofx/issues/210)
    • ๐Ÿ‘ Proxy support for Rest client (Set client.proxy = Proxy())
    • ๐Ÿ— Pane builder (https://github.com/edvin/tornadofx/issues/208)
    • ๐Ÿ’… Iterable.style will apply styles to all elements in collection
    • โž• Added Node.alignment property that knows how to apply alignment depending on the parent
    • โž• Added Node.margin property that knows how to apply margin depending on the parent
    • ๐Ÿ— canvas builder
    • ๐Ÿ— All constraint builders no longer set default values for properties that are not overridden
    • โž• Added canvas() builder
    • Kotlin 1.0.5-2
    • โž• Added stackpaneConstraints builder (margin/alignment) (https://github.com/edvin/tornadofx/issues/206)
    • โž• Added Node.hgrow and Node.vgrow properties (https://github.com/edvin/tornadofx/issues/204)
    • 0๏ธโƒฃ ComboBox.cellFormat also formats button cell by default with option to override
    • UIComponent.openWindow() opens a new modeless Window
    • TreeView.bindSelected(itemProperty) and TreeView.bindSelected(itemViewModel)
    • ๐Ÿ‘ Rest POST supports InputStream (https://github.com/edvin/tornadofx/pull/200)
    • โœ‚ Removed deprecated findFragment - use find instead
    • ViewModel.ignoreDirtyStateProperties list of properties that should not be considered when calculating dirty state
    • โœ‚ Removed deprecated replaceWith overloads (https://github.com/edvin/tornadofx/issues/199)
    • ๐Ÿ‘ Scope support
    • ๐Ÿ‘ ViewModel is now Component and Injectable so it supports injection.
    • โž• addClass/removeClass/toggleClass now also works for pseudo classes (https://github.com/edvin/tornadofx/issues/198)
    • ItemViewModel().bindTo(listCellFragment)
    • resources.stream("some-resource") locates InputStream for resource
    • โž• Added custom renderers to custom CSS Properties (https://github.com/edvin/tornadofx/issues/203)