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

Expressions from width/height properties of Panes are not listenable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • fx2.1
    • javafx

    Description

      Binding/listening to calculated expression from width & height properties of Pane does not work. Binding directly the properties works.

      Attached example shows that binding : widthProperty().divide(2) for example does not reflect any change (see attached Scene example).
      Of course calculated expressions from standard Properties implementation like SimpleIntegerProperty works well, divide in the test (see attached unit test).

      Attachments

        Activity

          People

            ekrejcir Eva Krejčířová (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: