CSS and Controls
I have been learning about the CSS part of JavaFX, which seems like a great idea, but Im just wondering something.
If I have a custom control, which extends CustomNode, that, in the create() method returns a Group of nodes, such as a heap of different lines, and rectangles etc...
How would I apply a CSS style to an internal node of that group (i.e. one of those internal rectangles)? I cant seem to get it to work just using the styleClass properties, although maybe my CSS declarations are wrong, anyone had any experience with this?