-
Bug
-
Resolution: Cannot Reproduce
-
P5: Not important
-
None
-
5.6.0
-
None
-
Windows 10 Mingw x32
GridView doesn't support header property when there are operations on cellWidth & cellHeight.
The application crashes before being displayed.
Here is a simple example :
import QtQuick 2.6 GridView { id: grid width: 400 height: contentHeight cellWidth: width/Math.round(width/170) cellHeight: cellWidth*4/3 interactive: false model: ListModel { id: myList } header: Component { Rectangle { width: grid.cellWidth height: grid.cellHeight color: "red" } } delegate: Component { Rectangle { width: grid.cellWidth height: grid.cellHeight color: "blue" } } }