Weird behaviour with AnchorPane

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 8
    • Affects Version/s: 7u10
    • Component/s: javafx
    • Environment:

      JDK 7u10 b16, Mac OS X 10.8.2

      I wrote the attached example to test scrolling with a trackpad (touch events).
      It works fine: the ImageView is clipped by the rectangle and scrolls underneath.

      When I uncomment the two lines to position the viewGroup using anchors instead of translateX/Y, everything is all over the place when I scroll.
      If I remove the anchors and use translateX/Y to get the same positioning, everything works just fine again.

      Am I missing something here, or is this a bug in the AnchorPane ?

            Assignee:
            Martin Sládeček
            Reporter:
            Steven Van Impe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: