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

CSS Tooltip - text is white (unreadable), if -fx-background is dark

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 8u20
    • 7u6
    • javafx

    Description

      If I set -fx-background to a dark color, the text in the Tooltip is white, while the Tooltip's background is yellow, which results in an unreadable Tooltip.
      This is due to the ladder in the .root class.

      This fixes the problem:

      .tooltip .label {
          -fx-text-fill: -fx-dark-text-color;
      }

      Please integrate it in the caspian.css.

      This is related to:
      RT-25256

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            cschudtjfx Christian Schudt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: