Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2678 QListView: setWordWrap and setSpacing bug in a ListMode
  3. QTBUG-9455

QListWidget Scrollbars don't work well with setSpacing

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • Widgets: Layout
    • None
    • b53f7d4ce3d5d9af47daf78c9f831acc532e688b

    Description

      When setSpacing is used on a QListWidget/QListView, the scrollbar doesn't allow you to scroll all the way down. It seems the height of spacing*2 is never shown. If we use setGridSize instead, this works fine, but we don't get spacing at the top.

      Attachments

        1. listwidget-bug.ui
          2 kB
          Rohit Gupta
        2. QtScrollBugWithSetSpace
          47 kB
          Charles Allen

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              rohitntu Rohit Gupta
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes