tornadofx v1.5.6 Release Notes

Release Date: 2016-09-19 // over 7 years ago
    • ViewModel.onCommit() function that will be called after a successful commit
    • TableView SmartResize Policy (https://github.com/edvin/tornadofx/wiki/TableView-SmartResize)
    • ๐Ÿ— dynamicContent builder that will replace content in a Node when an observable value changes
    • ๐Ÿ— Alternative TableView.column builder with auto-conversion to observable value (column("Title", ReturnType::class) { value { it.value.somePropertyOrValue })
    • DataGrid component
    • TableColumn cellCache provider to create a cached graphic node per item
    • Padding shortcuts (paddingRight, paddingLeft, paddingTop, paddingBottom) to Region
    • ๐Ÿ‘ TableView support for Nested Columns (nestedColumn(title) { // add child columns here })
    • ๐Ÿ‘ TableView support for expanded row node (rowExpander { // create node to show on expand here }) (https://edvin.gitbooks.io/tornadofx-guide/content/5.%20Builders%20II%20-%20Data%20Controls.html#row-expanders)
    • ๐Ÿ›  Fixed bug where image URLs defined in CSS were rendered wrong
    • โž• Added support for skipping snake-casing in CSS rules (names still have to be valid css identifiers)
    • ๐Ÿ›  Fixed bug where CSS selectors defined with strings would have their capitalization changed (".testThing" => ".test-thing", cssclass("testThing") => .test-thing)
    • โšก๏ธ Updated the ViewTransition code to be more flexible (including now working with any Node, not just Views and Fragments).
      • Also added several new built in ViewTransitions
    • โž• Added new Node animation helper functions for various transformations
    • FXML files can now contain fx:controller attribute to help with content assist, if hasControllerAttribute = true is passed to the fxml delegate (https://github.com/edvin/tornadofx/issues/179)
    • ๐Ÿ›  Fix exception in chooseFile when user cancels in Multi mode