ImageView doesn't load Image from style sheet

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Windows 7, beta release

      In the early access B25 release the following code

              ImageView img = new ImageView();
              img.getStyleClass().add("expand-image");

      with a CSS style sheet of

              .expand-image
              {
                  -fx-image: url("images/maximize.jpeg");
              }

      would load the given image from the style sheet as the Image field of the ImageView.

      In the beta this no longer works.


            Assignee:
            David Grieve
            Reporter:
            Graham Matthews (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: