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

skinProperty gets overriden by CSS when set manually

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      JavaFX 8.0b119

      Description

      When a stylesheet is present on a control that specifies a skin, and the user attempts to set the skin to something else using setSkin (and perhaps also triggers a CSS re-evaluation using setStyle()), the Skin gets reset to the CSS value.

      A ChangeListener on skinProperty sees the Skin change twice (cssSkin -> userSkin... followed by userSkin -> cssSkin).

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            jhendrikx John Hendrikx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: