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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8u20
    • Affects Version/s: 7u6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported: