Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

TornadoFX 1.7.17

Compare
Choose a tag to compare
@edvin edvin released this 19 Aug 08:00
· 248 commits to master since this release

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 of ListCell will be cleared by the framework so it can be manipulated in cellFormat 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 on FXTask
  • removeFromParent now supports TreeItem (#776)

Additions

  • UIComponent.whenUndockedOnce() and whenDockedOnce callbacks
  • onTabSelected callback in UIComponent when connected to a TabPane
  • finally(callback) for runAsync and other task builders
  • Window.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 supports file, http and https in addition to classpath resources (#762)
  • raduimenuiutem builders now accepts value property (#737)