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

Customizing ProgressBar color fails with Modena style

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows 7 64-bit
      Java 8.0.0-b83

      Description

      My CSS had:

      .my-app-active .progress-bar.my-app-custom-progress .bar {
       -fx-background-color: green;
      }
      .my-app-custom-progress {
       -fx-border-width: 0;
      }

      When the custom classes ("my-app-coustom-progress", "my-app-active") were set on my ProgressBar control and the parent container and I was using the default "Caspian" styles, this showed a green bar for progress. With Modena the result is that the progress bar doesn't show any progress at all.

        Attachments

          Activity

            People

            • Assignee:
              jasper Jasper Potts
              Reporter:
              swpalmer Scott Palmer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: