This content has been marked as final. Show 2 replies
style sheet assignments are done on Scene level.This is not necessarily true.
From the CSS reference guide: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
Beginning with JavaFX 2.1, the Parent class has a stylesheets property, allowing style sheets to be set on a container. This allows for one branch of of the scene graph to have a distinct set of styles. Any instance of Parent can have a style sheets. A child will take its styles from its own inline styles, the style sheets of all its ancestors, and any style sheets from the Scene.
Wow, I missed this - this is perfect!
Thank you for your quick reply!