Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096478

Inheritance rules of the JavaFX 2.2 css processing not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      Description

      I ran into an issue styling a ContextMenu specifically and asked "How do you set the style for a JavaFX ContextMenu using css?" (http://stackoverflow.com/q/11127999/3340) on StackOverflow.com.

      With the help of others we determined that it was an issue with the inheritance rules of CSS. Since I was using FXML the stylesheet was being applied to the Parent Node instead of the scene. I have attached an example to demonstrate the issue.

        Attachments

          Activity

            People

            Assignee:
            dgrieve David Grieve
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: