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

Scrollbar does not respect viewportMargins in QListWidget when using ViewMode=IconMode

XMLWordPrintable

    • db404fea64074b353b2f1766dffd26aa24bdbd50 (qtbase/5.9, 7.7.2017, 5.9.2)

      When using viewportMargins in QListWidget IconMode, the scrollbars act as if the viewportMargins were the default 0, 0, 0, 0.

      Steps to reproduce:

      • Run attached sample
      • Vertically make the window smaller
      • EXPECTED: Scrollbars appear as soon as first item is being hidden
      • ACTUAL: Scrollbars only appear until the first item would be hidden if viewportMargins were not set

        1. qtbug61383_initial.png
          qtbug61383_initial.png
          19 kB
        2. qtbug61383_noscrollbar.png
          qtbug61383_noscrollbar.png
          14 kB
        3. qtbug61383_withscrollbar.png
          qtbug61383_withscrollbar.png
          14 kB
        4. qtbug61383.zip
          1 kB
        5. qtbug61383_diag.diff
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            jussi_witick Jussi Witick
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes