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

Style Class editor menu does not update when style sheet modified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      Open attached FXML
      Select the Button
      Click the Style Class MenuButton - you will see two available classes (style1, style2)

      Now Open attached CSS in your editor
      Change the name of the class Style2 to Style2A
      Add a new style class: Style3
      Save CSS file - In the background, SB shows an info message to say the style sheet has been modified.

      Return to SB and again click the Style Class MenuButton - bug - the menu does not reflect the changes in the style sheet (it still shows style1, style2).

      This is a regression from 1.1

            jcambon Jerome Cambon
            mchicharro Moises Chicharro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: