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

Expressions from width/height properties of Panes are not listenable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: fx2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: