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

MODENA: can't make tree/table cell factories change color based on background when setGraphic(...) is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • Mac OS X 10.8.2 / jdk 8u75

      Using caspian and modena, I can create custom tree/table/list cell renderers and set them using the setGraphic(...) call on the cell. In caspian, I can set text -fx-text-fill on a text component in my custom pane using a ladder derived color based on the background of the cell. When the cell is selected and the background is darker, the text becomes lighter and vice versa. In modena, I can't find a way to do the same thing. No matter what text-fill I use, it stays black (or one color).

            jasper Jasper Potts (Inactive)
            cstanford Curtis Stanford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: