anidotnet
07/30/2018, 4:48 AMfun createWindow(view: WindowView): Stage {
val scene = Scene(view.root)
scene.fill = Color.TRANSPARENT
val stage = Stage()
stage.initStyle(StageStyle.TRANSPARENT)
stage.hookGlobalShortcuts()
stage.scene = scene
ResizeHelper.addResizeListener(stage)
FX.applyStylesheetsTo(scene)
return stage
}
val stage = createWindow(MyView())
stage.initOwner(primaryStage)
stage.show()
ResizeHelper is a utility class for resizing undecorated stage.Romanow
07/30/2018, 11:26 AMRomanow
07/30/2018, 11:28 AMcarlw
07/30/2018, 11:35 AMcarlw
07/30/2018, 11:35 AMcarlw
07/30/2018, 11:46 AMRomanow
07/30/2018, 11:47 AMRomanow
07/30/2018, 11:48 AMcarlw
07/30/2018, 11:49 AMcarlw
07/30/2018, 11:52 AMcarlw
07/30/2018, 12:06 PMcarlw
07/30/2018, 12:10 PManidotnet
07/30/2018, 12:40 PMcarlw
07/30/2018, 12:57 PMRomanow
07/30/2018, 2:36 PMRomanow
07/30/2018, 2:37 PMRomanow
07/30/2018, 2:37 PMRomanow
07/30/2018, 2:38 PMRomanow
07/30/2018, 2:40 PMRomanow
07/30/2018, 2:40 PMorangy
TreeView
items. Can anyone point me to a sample?abhinay
07/30/2018, 5:16 PMorangy
cellFormat
. Also, what’s Node
? I’ve seen iconProperty
, but couldn’t yet figure out where to get a `Node`…abhinay
07/30/2018, 5:17 PMabhinay
07/30/2018, 5:18 PMRuckus
07/30/2018, 5:19 PMgraphic
property of the TreeItem
, including an ImageView
.abhinay
07/30/2018, 5:20 PMorangy
com.sun.javafx.iio.ImageStorageException: No loader for image data
Is SVG supported at all?orangy
Ruckus
07/30/2018, 5:26 PMSVGPath
, and TornadoFX has some helpful wrappers, but I don't really use them.