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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 8
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: