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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:
              Imported: