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
          19 kB
          Jussi Witick
        2. qtbug61383_noscrollbar.png
          14 kB
          Jussi Witick
        3. qtbug61383_withscrollbar.png
          14 kB
          Jussi Witick
        4. qtbug61383.zip
          1 kB
          Friedemann Kleint
        5. qtbug61383_diag.diff
          7 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-61383
        # Subject Branch Project Status CR V

            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