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

Weird behaviour with AnchorPane

    XMLWordPrintable

    Details

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

      JDK 7u10 b16, Mac OS X 10.8.2

      Description

      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 ?

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: