ProgressBar.setStyle("-fx-accent: red;") doesn't always work

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: javafx
    • None
    • Environment:

      win7, jdk 8.0b64
      reproducible on 2.2 as well

      1. run attached code snippet, note setStyle() call doesn't affect ProgressBar color
      2. uncomment line 20. Note now both setStyle() calls work

        1. ProgressIndicatorCss.java
          0.9 kB
          Sergey Grinev
        2. screenshot-1.jpg
          60 kB
          Sergey Grinev

            Assignee:
            Mick Fleming
            Reporter:
            Sergey Grinev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: