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

skinProperty gets overriden by CSS when set manually

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • 8
    • javafx
    • JavaFX 8.0b119

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

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

              Created:
              Updated:
              Resolved:
              Imported: