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

Content Panel can fail to visualise CSS changes from external style sheet

    XMLWordPrintable

Details

    Description

      As I've been doing extensive CSS work recently I have noticed that the SB content view often fails to update when an edit has been made to an external style sheet. I have isolated a simple test case.

      Open the attached FXML in SB.
      Open the attached CSS in your editor of choice.
      Edit the value of the -fx-pref-height rule - you will see the Content Panel updates.
      Edit the value of the -fx-pref-height rule again - bug - SB displays a info message saying the CSS file was updated but the Content Panel itself no longer updates. You have to close and re-open the FXML to see the updated version. Note that the Preview window does reflect CSS updates.

      Attachments

        Issue Links

          Activity

            People

              eleponn Eric Le Ponner
              mchicharro Moises Chicharro
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: