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

Expressions from width/height properties of Panes are not listenable

XMLWordPrintable

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

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

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

              Created:
              Updated:
              Resolved:
              Imported: