Adding application-wide stylesheet

David Grieve david.grieve at
Thu Jun 12 21:34:01 UTC 2014

In 8u20, you can use @import in your .css file. That, along with 
Application#setUserAgentStylesheet(String), should do the trick. If I'm 
missing something, then please feel free to create a new feature request 
in JIRA.

On 6/12/14, 4:57 PM, Robert Krüger wrote:
> Hi,
> RT-18543 has been closed as not an issue with the following explanation:
> API exists in Application for this:
> 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
> 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