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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Environment:

      Mac OS X Lion, JavaFX 2.0 b44

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: