Ale*_*hin 3 javafx gluon gluon-mobile
默认颜色com.gluonhq.charm.glisten.control.ProgressIndicator/ProgressBar是 material design blue。
如何改变颜色?
我尝试了不同的 JavaFX CSS 属性,但它不起作用。
您可以使用新的 css 样式更改颜色-fx-color。
progressIndicator.setStyle("-fx-color: red;");
Run Code Online (Sandbox Code Playgroud)