This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
TornadoFX 1.7.17
Fixed
- OnDock Called Twice In openInternalWindow (#772)
- TreeView.
lazypopulate
leafcheck logic was reversed (#773) onCancel()
is now called when reusing Wizard instance- Observable collection delegates removed because they shadow observable properties (See Properties.kt:L212)
- The
style
property ofListCell
will be cleared by the framework so it can be manipulated incellFormat
without side effects (https://stackoverflow.com/questions/51459371/custom-cell-format-listview-tornadofx-on-delete-item) - Escape closes window only works first time for Views (#764)
- Reused modal didn't get stage icons set (#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
setAll
should be forwarded to the underlying list (#344) and (#681) - EventBus deliveries will continue even after a subscriber throws exception
- UIComponent callback
onBeforeShow
is called for all top level UIComponents - Primary View
onDock
is now called after the stage is shown. Now it aligns with the timing for secondary windows. - All
asyncItems
function parameters operate onFXTask
removeFromParent
now supportsTreeItem
(#776)
Additions
UIComponent.whenUndockedOnce()
andwhenDockedOnce
callbacksonTabSelected
callback in UIComponent when connected to a TabPanefinally(callback)
for runAsync and other task buildersWindow.aboutToBeShown
property avoid false positives for invisible Workspace warning (#755)- Slideshow slides supports optional timeout, which will advance to the next slide using the Slide transition
importStylesheet
now supportsfile
,http
andhttps
in addition to classpath resources (#762)raduimenuiutem
builders now acceptsvalue
property (#737)