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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Mac OS X 10.8.2 / jdk 8u75

      Description

      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).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: