Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097500

[CSS] ProgressIndicator does not spin anymore since 8u20

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u20
    • javafx

      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();
          }
      }

            dgrieve David Grieve
            cschudtjfx Christian Schudt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: