[CSS] CustomColorDialog cannot be skinned by adding stylesheet to scene.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u20
    • Component/s: javafx
    • None

      If I add a style for .custom-color-dialog to a user-agent stylesheet, the style has no effect. Only if the style is added to a user-agent stylesheet (i.e., Application.setUserAgentStylesheet("blah")) do the styles have any affect. Even scene.setUserAgentStylesheet has no effect.

      The issue is that CSS looks for styles by going from a node to node.getStyleableParent() and CustomColorDialog does not return the correct value for getStyleableParent()

            Assignee:
            David Grieve
            Reporter:
            David Grieve
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: