hestad
01/23/2018, 6:57 PMval halfStagewidth = SimpleDoubleProperty(primaryStage.width/2.0)
, but the required type is ObservableValue<out Boolean!>!
, any ideas?hestad
01/23/2018, 7:15 PMoverride val root = scrollpane {
hbarPolicy = ScrollPane.ScrollBarPolicy.NEVER
vbarPolicy = ScrollPane.ScrollBarPolicy.AS_NEEDED
tilepane {
prefColumns = 2
prefTileWidthProperty().bind(primaryStage.widthProperty().divide(2))
children.bind(images) {
imageview(it) {
fitToParentWidth()
isPreserveRatio = true
}
}
}
}
hestad
01/23/2018, 7:16 PMamanda.hinchman-dominguez
01/23/2018, 7:41 PMamanda.hinchman-dominguez
01/23/2018, 7:41 PMprimaryStage.widthProperty()/2
?hestad
01/23/2018, 7:46 PMhestad
01/23/2018, 7:47 PMhestad
01/23/2018, 7:48 PMhestad
01/23/2018, 7:51 PMamanda.hinchman-dominguez
01/23/2018, 8:29 PM