Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.3, 6.9.1, 6.10.0 Beta1
-
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:
- QTBUG-38350 (opened in 2014)
- QTBUG-116206 (opened in 2023)
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
- is duplicated by
-
QTBUG-38350 Add spacing property to Qt Quick GridView
-
- Open
-
-
QTBUG-116206 Add vertical/horizontal spacing parameter to GridView component
-
- Open
-