Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to a wizard's scene #999

Open
JonathanGiles opened this issue Oct 2, 2017 · 1 comment
Open

Allow access to a wizard's scene #999

JonathanGiles opened this issue Oct 2, 2017 · 1 comment
Milestone

Comments

@JonathanGiles
Copy link
Collaborator

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).

@SimonScholz
Copy link
Contributor

Any update here? Or is there a workaround for styling the wizards dialog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants