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

CSS ladders work not correctly with "dark" backgrounds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Windows 7 32 bit Java

      Description

      If you set the following css:

      .root {
          -fx-base: rgb(30, 30, 30);
          -fx-background: rgb(30, 30, 30);
          -fx-control-inner-background: rgb(30, 30, 30);
      }

      Labels and other texts within UI controls are still rendered black instead of white. This has worked with 2.0.2. 2.1 Beta 10 has a slight improvement over beta 9: The menu now is rendered correctly, but many texts are rendered black instead of white, see screenshot.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jgiles Jonathan Giles
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: