skinProperty gets overriden by CSS when set manually

XMLWordPrintable

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

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

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

              Created:
              Updated:
              Resolved:
              Imported: