A DESCRIPTION OF THE PROBLEM :
Graphics of menu items are displayed with wrong graphic color because of a bug in modena.css.
A simple change in modena.css fix the issue.
Replace
.menu-item > .label {
-fx-text-fill: -fx-text-base-color;
}
.menu-item:focused > .label {
-fx-text-fill: -fx-focused-text-base-color;
}
by
.menu-item .label {
-fx-text-fill: -fx-text-base-color;
}
.menu-item:focused .label {
-fx-text-fill: -fx-focused-text-base-color;
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
cf https://bugs.openjdk.java.net/browse/JDK-8225767
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
cf https://bugs.openjdk.java.net/browse/JDK-8225767
ACTUAL -
cf https://bugs.openjdk.java.net/browse/JDK-8225767
---------- BEGIN SOURCE ----------
cf https://bugs.openjdk.java.net/browse/JDK-8225767
---------- END SOURCE ----------
Graphics of menu items are displayed with wrong graphic color because of a bug in modena.css.
A simple change in modena.css fix the issue.
Replace
.menu-item > .label {
-fx-text-fill: -fx-text-base-color;
}
.menu-item:focused > .label {
-fx-text-fill: -fx-focused-text-base-color;
}
by
.menu-item .label {
-fx-text-fill: -fx-text-base-color;
}
.menu-item:focused .label {
-fx-text-fill: -fx-focused-text-base-color;
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
cf https://bugs.openjdk.java.net/browse/JDK-8225767
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
cf https://bugs.openjdk.java.net/browse/JDK-8225767
ACTUAL -
cf https://bugs.openjdk.java.net/browse/JDK-8225767
---------- BEGIN SOURCE ----------
cf https://bugs.openjdk.java.net/browse/JDK-8225767
---------- END SOURCE ----------
- relates to
-
JDK-8225767 Wrong Graphic color of RadioMenuItem
- Open