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

Setting multiple background images on a region from a style sheet does not work.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx1.3.1
    • javafx
    • JavaFX 1.3.1, Mac OS X 10.6, Java 1.6.0_20

      I'm trying to style a region with multiple background images. A single background image works fine:

         -fx-background-image: url("TestImageLibrary/scrollwork_ul.png");
         -fx-background-position: left top;

      Although the CSS docs say that multiple background images and positions are possible, when I add the following:

         -fx-background-image: url("TestImageLibrary/scrollwork_ul.png"), url("TestImageLibrary/scrollwork_lr.png");
         -fx-background-position: left top, right bottom;

      Then no background images are displayed.

            dgrieve David Grieve
            diversonjfx Dean Iverson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: