New
TornadoFX 1.7.17
Fixed
- OnDock Called Twice In openInternalWindow (https://github.com/edvin/tornadofx/issues/772)
- TreeView.
lazypopulateleafcheck logic was reversed (https://github.com/edvin/tornadofx/issues/773) onCancel()is now called when reusing Wizard instance- Observable collection delegates removed because they shadow observable properties (See Properties.kt:L212)
- The
styleproperty ofListCellwill be cleared by the framework so it can be manipulated incellFormatwithout side effects (https://stackoverflow.com/questions/51459371/custom-cell-format-listview-tornadofx-on-delete-item) - Escape closes window only works first time for Views (https://github.com/edvin/tornadofx/issues/764)
- Reused modal didn't get stage icons set (https://github.com/edvin/tornadofx/issues/779)
Changes
- Kotlin 1.2.60
- ViewModel binding dirty tracking for ListProperty (https://stackoverflow.com/questions/50364458/tornadofx-bind-dirty-properties-of-different-view-models)
- Workspace.dock() will log a warning message if a child is docked while the workspace is not showing
- SortedFilteredList.setAllPassThrough property controls if
setAllshould be forwarded to the underlying list (https://github.com/edvin/tornadofx/issues/344) and (https://github.com/edvin/tornadofx/issues/681) - EventBus deliveries will continue even after a subscriber throws exception
- UIComponent callback
onBeforeShowis called for all top level UIComponents - Primary View
onDockis now called after the stage is shown. Now it aligns with the timing for secondary windows. - All
asyncItemsfunction parameters operate onFXTask removeFromParentnow supportsTreeItem(https://github.com/edvin/tornadofx/issues/776)
Additions
UIComponent.whenUndockedOnce()andwhenDockedOncecallbacksonTabSelectedcallback in UIComponent when connected to a TabPanefinally(callback)for runAsync and other task buildersWindow.aboutToBeShownproperty avoid false positives for invisible Workspace warning (https://github.com/edvin/tornadofx/issues/755)- Slideshow slides supports optional timeout, which will advance to the next slide using the Slide transition
importStylesheetnow supportsfile,httpandhttpsin addition to classpath resources (https://github.com/edvin/tornadofx/issues/762)raduimenuiutembuilders now acceptsvalueproperty (https://github.com/edvin/tornadofx/issues/737)