The CSS Reference Guide (http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#progressbar) is missing information about how to change the color of the ProgressBar control.
Apparently this has to be done using...
.progress-bar > .bar {
-fx-background-color: red;
}
...which is not documented, while it is documented that progress of ProgressIndicator is colored using -fx-progress-color.
This should be documented in the guide.
Moreover it would we cool if one could simply write...
.progress-bar {
-fx-progress-color: red;
}
...to align with progress indicator.
Apparently this has to be done using...
.progress-bar > .bar {
-fx-background-color: red;
}
...which is not documented, while it is documented that progress of ProgressIndicator is colored using -fx-progress-color.
This should be documented in the guide.
Moreover it would we cool if one could simply write...
.progress-bar {
-fx-progress-color: red;
}
...to align with progress indicator.