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 anyNode
, not justView
s andFragment
s).- Also added several new built in
ViewTransition
s
- Also added several new built in
- โ Added new
Node
animation helper functions for various transformations - FXML files can now contain
fx:controller
attribute to help with content assist, ifhasControllerAttribute = true
is passed to thefxml
delegate (https://github.com/edvin/tornadofx/issues/179) - ๐ Fix exception in chooseFile when user cancels in Multi mode