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" } }