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
andNode.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
- usefind
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
andInjectable
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)