-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
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.
.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.