Hi guys...
Hope someone can cast a light on this one...
I've been trying to completely copy the style from one node to another...
The Original node is created in the Visual Designer, and in there I set the Shadow property to my liking... The target node is created within the code...
But, listing the original node style, there's no reference to the shadow effect (-fx-effect...
So, simply cloning the styles (node2.style = node1.style) does not give the target node the exact same appearance as the original one, which makes me think that the shadow is being applied with some other mechanism than css, or javafx classes...
PLEASE CAN SOMEONE TURN A LIGHT ON THIS??
Hope someone can cast a light on this one...
I've been trying to completely copy the style from one node to another...
The Original node is created in the Visual Designer, and in there I set the Shadow property to my liking... The target node is created within the code...
But, listing the original node style, there's no reference to the shadow effect (-fx-effect...
So, simply cloning the styles (node2.style = node1.style) does not give the target node the exact same appearance as the original one, which makes me think that the shadow is being applied with some other mechanism than css, or javafx classes...
PLEASE CAN SOMEONE TURN A LIGHT ON THIS??