Skip to content

Allow access to a wizard's scene #999

@JonathanGiles

Description

@JonathanGiles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions