Original report by Stefano Negri (Bitbucket: negste, GitHub: negste).
When creating a Wizard, it would be nice to be able to apply a custom css to its Scene, so that all Panes that are added into the Wizard can inherit it.
In my case it was something as simple as:
#!css
.root {
-fx-base: rgba(60, 63, 65, 255);
}
to have a "dark" look and feel.
Without access to the Scene one would have to customize style for each Pane and for .dialog-pane > .button-bar and .dialog-pane:header and many other details.
I would add that that even if I tried this last option, it didn't seem to work as expected: in my example the text color for labels was modified to white, while the background color wasn't correctly derived from the customized "-fx-base" and remained of a light color derived from the default "-fx-base" (that is #ececec"), thus creating the effect of "light text on light background".
What I propose is to allow access to the wizard's Scene (or alternatively to the list of stylesheets).
Original report by Stefano Negri (Bitbucket: negste, GitHub: negste).
When creating a Wizard, it would be nice to be able to apply a custom css to its Scene, so that all Panes that are added into the Wizard can inherit it.
In my case it was something as simple as:
to have a "dark" look and feel.
Without access to the Scene one would have to customize style for each Pane and for
.dialog-pane > .button-barand.dialog-pane:headerand many other details.I would add that that even if I tried this last option, it didn't seem to work as expected: in my example the text color for labels was modified to white, while the background color wasn't correctly derived from the customized "-fx-base" and remained of a light color derived from the default "-fx-base" (that is #ececec"), thus creating the effect of "light text on light background".
What I propose is to allow access to the wizard's Scene (or alternatively to the list of stylesheets).