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

SB does not honour looked-up colours from a style sheet.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 8
    • javafx
    • Mac OS X 10.9.5
      java version "1.8.0_20"

      With a stylesheet sheeted added to SB :-

      .root { my-color: #f00;}
      .my-label { -fx-background-color: my-color;}

      Then a Label with it's styleClass set to "my-label" does not have a red background.

      If the stylesheet is changed to: -

      .my-label { -fx-background-color: #f00;}

      then the label correctly has a red background.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: