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

Request for greater control of spacing in a ListView

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4
    • Widgets: Itemviews
    • None
    • All

    Description

      Hi,

      The QListView::setSpacing() function effects the space around an item in a list view. This means that there will be the same amount of space between items as between an item and the border of the ListView. So, someone cannot have space between items while having the items touch the border of the ListView. 

      Ideally there would be some functionality which allows for further customization of spacing between items in a ListView. Something like the following...

      QListView::setSpacingBetweenItems(int horizontalSpacing, int verticalSpacing)

      QListView::setHorizontalSpacingBetweenItems(int horizontalSpacing)

      QListView::setVerticalSpacingBetweenItems(int verticalSpacing)

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            benjamin.hadra Benjamin Hadra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes