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

Stylesheet relative location resolution corrupted on save

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx
    • None
    • Windows7, JavaFX 2.1, SceneBuilder B37, Netbeans 7.1.2

      Hello,

      When providing a relative URL to a parent directory for a stylesheet, Scene Builder opens and renders the FXML correctly:

        <stylesheets>
          <URL value="@../../application.css" />
        </stylesheets>

      But when saving the form after changes, the path is truncated as below:
        <stylesheets>
          <URL value="@../.css" />
        </stylesheets>


      For now, I need to correct the url using netbeans.

            dfuchs Daniel Fuchs
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: