edvin
01/06/2017, 3:30 PMpermalmberg
01/06/2017, 3:30 PMrunLater
Will work for megtnarg
01/06/2017, 3:30 PMneedsLayoutProperty
edvin
01/06/2017, 3:31 PMonFirstChange
for example.carlw
01/06/2017, 3:32 PMcarlw
01/06/2017, 3:32 PMcarlw
01/06/2017, 3:35 PMcarlw
01/06/2017, 3:37 PMjchildress
01/06/2017, 3:39 PMcarlw
01/06/2017, 3:40 PMjchildress
01/06/2017, 3:40 PMjchildress
01/06/2017, 3:40 PMpermalmberg
01/06/2017, 3:41 PMcarlw
01/06/2017, 3:41 PMpermalmberg
01/06/2017, 3:43 PMoverride val root = scrollpane {
stackpane {
group {
rectangle {
layoutX = 0.0
layoutY = 0.0
width = 5000.0
height = 5000.0
fill = Color.LIGHTGOLDENRODYELLOW
}.apply {
rect = this
}
setOnMouseDragReleased {
fire(EndComponentCreation(it.sceneX, it.sceneY))
}
setOnDragOver {
it.acceptTransferModes(TransferMode.COPY)
}
}.apply {
group = this
}
}
}
Items are added to the group
carlw
01/06/2017, 3:43 PMpermalmberg
01/06/2017, 3:44 PMedvin
01/06/2017, 3:45 PMedvin
01/06/2017, 3:46 PMpermalmberg
01/06/2017, 3:46 PMpermalmberg
01/06/2017, 3:47 PMjchildress
01/06/2017, 3:48 PMjchildress
01/06/2017, 3:48 PMcarlw
01/06/2017, 3:49 PMjchildress
01/06/2017, 3:49 PMjchildress
01/06/2017, 3:49 PMpermalmberg
01/06/2017, 3:51 PMpermalmberg
01/06/2017, 3:52 PMcarlw
01/06/2017, 3:58 PMpermalmberg
01/06/2017, 3:58 PM