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

[ListView] scrollTo works not accordingly to docs.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      2.1.0b13.

      Description

      "index - The index that should be made visible to the user, assuming of course that it is greater than, or equal to 0, and less than the size of the items list contained within the given ListView."

      Watch attached movie:
      I've added some amount of elements. said scrollTo(50). It scroll to the end. Of cource that is correct in some way. But assumption is broken. For comparison: if I am at the end of the list, then calling scrollTo(-10) doesn't affect, but have to by analogy.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: