New
TornadoFX 1.7.19
Another bugfix and small enhancement release!
Fixed
- SmartResize takes invisible columns into account (https://github.com/edvin/tornadofx/issues/889)
- radiomenuitem didn't store value parameter properly (https://github.com/edvin/tornadofx/issues/737)
- fitToWidth/fitToHeigh binds prefWidth/prefHeight instead of minWidth/minHeight properties (https://github.com/edvin/tornadofx/issues/886)
- menu/item builders now observes FX.ignoreParentBuilder
- Renamed labelProperty to textProperty in AbstractField
- Wizard next button was enabled even when current page was not complete (https://github.com/edvin/tornadofx/issues/960)
- App primary view would continue to receive onDock/onUndock after its app instance was stopped and out of scope (https://github.com/edvin/tornadofx/issues/973)
Changes
- Opened up HttpClientEngine and HttpURLEngine for easier subclassing/configuration of the Rest engine
- Deprecated
observableList()in favour ofobservableListOf(), and[List, Set, Map].observable()in favour of[List, Set, Map].asObservable()to be consistent with the Kotlin standard library. - Subdelegation of workspace button states (https://github.com/edvin/tornadofx/issues/894)
- Kotlin 1.3.20
- Moved all css helper extension functions from Node/Tab/Menu etc to Styleable (https://github.com/edvin/tornadofx/issues/944)
Additions
FX.messagesNameProviderproperty to dynamically compute the name of the resource bundle of a given component class. (https://github.com/edvin/tornadofx/issues/872)FX.fxmlLocatorfunction to provide custom FXML locations globally- Added top level functions for creating (
observableListOf(), etc) and converting (List<T>.asObservable(), etc) observable lists, sets and maps; and extension functions to work with them too (ObservableList<T>.shuffle(), etc). - Submenu support for MenuButton (https://stackoverflow.com/questions/54393983/how-to-make-a-submenu-within-a-menubutton-in-javafx)
- Added
cubiccurveTobuilder (https://github.com/edvin/tornadofx/issues/911) - onLeftClick() and onRightClick()
- Convenience function builders for SimpleXXXProperty classes (https://github.com/edvin/tornadofx/pull/935)
- Added
splitmenubuttonbuilder togglegroup()builder accepts property parameter (https://github.com/edvin/tornadofx/issues/956)- Added extensions and operators for vector math