Do CSS-Files really have to have a suffix of .css

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • None

      I'm not sure if this is done by intention but one can only load files into the CSS-Engine which have a suffix of .css. So this one:

      scene.getStylesheets().add(App.class.getResource("demo.fxcss").toExternalForm());

      fails and this one

      scene.getStylesheets().add(App.class.getResource("demo.css").toExternalForm());

      succeeds

            Assignee:
            David Grieve
            Reporter:
            Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: