Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13681

preferredHighlightBegin and preferredHighlightEnd do not work as expected

    XMLWordPrintable

Details

    • dac9c7f42765a46d445aae35fd0e85b402ceb164

    Description

      When I scroll down my listview and the last visible item is selected, I cannot see the bottom border of the rectangle of the selected item.
      If I define:
      preferredHighlightBegin: 0
      preferredHighlightEnd: height
      highlightRangeMode: "ApplyRange"
      everything work well. So there is maybe a fix to do in the default behavior.

      Second issue(see attached file): I want to see always one more item below the selected item, so if I define
      preferredHighlightBegin: delegateHeight
      preferredHighlightEnd: height - delegateHeight
      highlightRangeMode: "ApplyRange"

      When I move with arrows from the last item to the second last item, the list is scrolling from one pixel which is strange but the list should not scroll because the listview is already at the bottom of the list.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes