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

Inheritance rules of the JavaFX 2.2 css processing not working correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u20
    • 7u6
    • javafx

      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.

            dgrieve David Grieve
            duke J. Duke
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: