Adding application-wide stylesheet
Robert Krüger
krueger at lesspain.de
Thu Jun 12 20:57:53 UTC 2014
Hi,
RT-18543 has been closed as not an issue with the following explanation:
API exists in Application for this:
http://download.java.net/jdk8/jfxdocs/javafx/application/Application.html#setUserAgentStylesheet-java.lang.String-
But that does not the same thing as it replaces the default (modena)
stylesheet, which is not what people asking this including the
original poster usually want (see also
http://stackoverflow.com/questions/16318517/how-do-i-dynamically-add-and-remove-css-for-the-whole-javafx-application).
What is the reason not to expose what
StyleManager.getInstance().addUserAgentStylesheet("...") does
somewhere in public API like in Application?
Thanks,
Robert
More information about the openjfx-dev
mailing list