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

CSS not loaded when relative path used on FXML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u10
    • javafx
    • None

      The <fx:script> element works fine with relative paths.

      But when I define a stylesheet, full path is needed.

      <BorderPane id="app-border"
                  style="-fx-padding: 6 6 6 6"
                  stylesheets="webfx/samples/restdemo/myStyles.css"
                  xmlns:fx="http://javafx.com/fxml">

            tbrandal Tomáš Brandalík (Inactive)
            bborges Bruno Borges (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: