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

Missing -fx-text-fill property in .choice-box selector in caspian.css

    XMLWordPrintable

Details

    Description

      The ChoiceBox control does not adjust its text fill based on the -fx-base color. The text in the ChoiceBox will stay black even when the control is a dark color, making it very hard to read. Simply adding:

      .choice-box {
          -fx-text-fill: -fx-text-base-color;
      }

      fixes the problem. I've attached before and after images to this bug illustrating the problem.

      Attachments

        1. after.png
          after.png
          24 kB
        2. before.png
          before.png
          27 kB

        Activity

          People

            psomashe Parvathi Somashekar (Inactive)
            diversonjfx Dean Iverson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: