Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
Description
Presumably due to rounding somewhere the snippet below will give 8 columns instead of the expected 9.
import QtQuick 2.0 GridView { width: 400 height: 200 cellWidth: width/9 cellHeight: height/2 model: 18 delegate: Rectangle { objectName: "delegate"; width: 10; height: 10; color: "green" } }
Attachments
For Gerrit Dashboard: QTBUG-21846 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
8531,3 | GridView sometimes lays out one less column than expected | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |