If what you want is to be able to test CSS changes on the fly on a running
javafx application during development for example; then you can also have a
look at CSSFX (https://github.com/McFoggy/cssfx).
If you do not want to setup CSSFX on your own, it has been integrated
inside Jonathan Giles "Sceni
On 10/15/18 7:02 AM, David Grieve wrote:
Just setStyle -fx-theme-header (etc.) on the root node.
That doesn't work, sadly. The actual FX CSS properties that utilize
-fx-theme-header don't update after setting a new value.
On 10/15/18 1:05 AM, Ty Young wrote:
Does JavaFX have an API for
Not sure if I totally understand what you want but you can change the
values of CSS variables through code by setting inline styles on
components, via setStyle method.
Pardon the publicity but yesterday I just happened to mention exactly that
on one of my posts and might help you:
https://pixelduk
Just setStyle -fx-theme-header (etc.) on the root node.
On 10/15/18 1:05 AM, Ty Young wrote:
Does JavaFX have an API for dynamically editing and applying CSS files
in-memory? If not, would there be any possibility in one ever being made?
My reasoning for such an API is, instead of switching
Does JavaFX have an API for dynamically editing and applying CSS files
in-memory? If not, would there be any possibility in one ever being made?
My reasoning for such an API is, instead of switching between completely
separate CSS files and having to update each whenever I need to support
a n