File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
kotlin/org/epistatic/app4/controller Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class ApplicationController {
6868 dateCustomColumn2.cellValueFactory = DateOffsetCellValueFactory (40 )
6969 dateCustomColumn2.cellFactory = CustomDateCellFactory ()
7070
71- // Use Lambda factories as lambdas
71+ // Use Lambda to create factories
7272 dateLambdaColumn.setCellValueFactory { cell: TableColumn .CellDataFeatures <DateItem , OffsetDateTime > -> ReadOnlyObjectWrapper (cell.value.date) }
7373 dateLambdaColumn.setCellFactory {
7474 object : TableCell <DateItem , OffsetDateTime >() {
Original file line number Diff line number Diff line change 99<?import javafx .scene.layout.GridPane?>
1010<?import javafx .scene.layout.RowConstraints?>
1111
12- <GridPane maxHeight =" -Infinity" maxWidth =" -Infinity" minHeight =" 50" minWidth =" 150" prefHeight =" 200.0" prefWidth =" 800.0" stylesheets =" @app5 .css" xmlns =" http://javafx.com/javafx/11.0.1" xmlns : fx =" http://javafx.com/fxml/1" fx : controller =" org.epistatic.app4.controller.ApplicationController" >
12+ <GridPane maxHeight =" -Infinity" maxWidth =" -Infinity" minHeight =" 50" minWidth =" 150" prefHeight =" 200.0" prefWidth =" 800.0" stylesheets =" @app4 .css" xmlns =" http://javafx.com/javafx/11.0.1" xmlns : fx =" http://javafx.com/fxml/1" fx : controller =" org.epistatic.app4.controller.ApplicationController" >
1313 <columnConstraints >
1414 <ColumnConstraints halignment =" CENTER" hgrow =" ALWAYS" maxWidth =" 1.7976931348623157E308" minWidth =" 100.0" prefWidth =" 100.0" />
1515 </columnConstraints >
You can’t perform that action at this time.
0 commit comments