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

Unable to set style class in some case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None
    • changeset 90fc5456ff78

      I use the NetBeans 8 wizard to create an FXML file as documented in the Getting Started
      - New > File
      - select JavaFX - Empty FXML
      - select issuetrackinglite package
      - select IssueTrackingLiteController
      - select IssueTrackingLite.css

      You get an FXML file with an AnchorPane as root element (attached Emorej-initial.fxml).: open it with SceneBuilder.
      Now:
      - select the AnchorPane and Delete it
      - put a VBox on Content and set as StyleSheet the same IssueTrackingLite.css
      - open the StyleClass menu ==> BUG it does not contain the expected 'darkList' and 'theme' rows (attached Emorej.fxml).

      If you start with a blank document, put the VBox, set the same StyleSheet then the StyleClass menu's content is fine: it's really by taking the path described above the user comes into a dead end.

            jcambon Jerome Cambon
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: