-
Bug
-
Resolution: Fixed
-
P3
-
8u20
Since the upgrade to JavaFX 8u20 my ProgressIndicator won't rotate anymore when using Caspian style.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.ProgressIndicator;
import javafx.stage.Stage;
public class TestApp2 extends Application {
public static void main(String[] args) {
launch();
}
@Override
public void start(Stage stage) throws Exception {
Application.setUserAgentStylesheet(Application.STYLESHEET_CASPIAN);
ProgressIndicator progressIndicator = new ProgressIndicator();
// Workaround:
// progressIndicator.setStyle("-fx-spin-enabled: true;");
Scene scene = new Scene(progressIndicator);
stage.setScene(scene);
stage.show();
}
}
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.ProgressIndicator;
import javafx.stage.Stage;
public class TestApp2 extends Application {
public static void main(String[] args) {
launch();
}
@Override
public void start(Stage stage) throws Exception {
Application.setUserAgentStylesheet(Application.STYLESHEET_CASPIAN);
ProgressIndicator progressIndicator = new ProgressIndicator();
// Workaround:
// progressIndicator.setStyle("-fx-spin-enabled: true;");
Scene scene = new Scene(progressIndicator);
stage.setScene(scene);
stage.show();
}
}