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

GridView still lacks spacing property after 10+ years — community repeatedly asking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.8.3, 6.9.1, 6.10.0 Beta1
    • Quick: Other
    • None

    Description

      It is frankly shameful that after more than a decade, the GridView component in QML still lacks a basic spacing property — something developers have been repeatedly requesting since at least 2012.

      This issue has been raised multiple times:

      And discussed at length in community forums:

      The proposed workarounds are simply not acceptable:

      • Using cellWidth and cellHeight to fake spacing leads to non-centered items, breaking layouts visually.
      • Wrapping delegates in nested Item elements just to simulate spacing is against QML best practices, adds unnecessary complexity, and reduces performance — especially on large models.

      It's hard to justify why GridView lacks a feature that Grid, Row, and Column all support. This creates inconsistency and frustration for developers trying to build modern, responsive UIs.

      At this point, it's not just a missing feature — it's a credibility issue.

      Attachments

        Issue Links

          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
              romain.donze Romain Donzé
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes