I have a component where I want to have CSS classe...
# tornadofx
t
I have a component where I want to have CSS classes I can toggle to change the appearance. However, this component can't add its Stylesheet to a Scene, since it isn't creating a Scene; the thing that is using this component makes the Scene, and does so after the component is instantiated. What's the right way to go about this?
...oh, you can access the
stylesheets
member of any node, I guess. Doesn't have to be a Scene.