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

CSS Reference Guide is missing details about color of ProgressBar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u20
    • javafx
    • JDK 8u20, Win 7 Pro SP1, 64 Bit

      The CSS Reference Guide (http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#progressbar) is missing information about how to change the color of the ProgressBar control.

      Apparently this has to be done using...

      .progress-bar > .bar {
      -fx-background-color: red;
      }

      ...which is not documented, while it is documented that progress of ProgressIndicator is colored using -fx-progress-color.

      This should be documented in the guide.

      Moreover it would we cool if one could simply write...

      .progress-bar {
          -fx-progress-color: red;
      }

      ...to align with progress indicator.

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: