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

[CSS] ProgressIndicator does not spin anymore since 8u20

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: