Setting a default stylesheet for a custom control

Pedro Duque Vieira pedro.duquevieira at gmail.com
Tue Jan 27 22:24:15 UTC 2015


Hi,

I'm developing a custom control, in the process I've used CSS to define its
style.
Now I want to make this control available for use by any developer, so I
want this control to have a default stylesheet which is the one I've used
to create the control much like javafx controls have a default stylesheet
(modena or caspian).

How can I do this?

I still want to make it possible for any user of my control to override the
css styles that the "default" stylesheet defines.

Thanks

-- 
Pedro Duque Vieira


More information about the openjfx-dev mailing list