Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
5.1.0 Beta 1
-
None
Description
See test case:
import QtQuick 2.1 import QtQuick.Controls 1.0 ApplicationWindow { width: 360 height: 500 ListModel { id: mymodel Component.onCompleted: { for (var i = 0; i < 400; i++) append({ name: "Ted " + i, age: i, hair: "blond"}) } } TableView { id: table anchors.fill: parent model: mymodel TableViewColumn { title: "Name" role: "name" } TableViewColumn { title: "Age" role: "age" } contentHeader: Rectangle { width: parent.width; height: 20; color: "red"} } }
1 - scroll down (with mouse wheel or handle)
2 - scroll up to header
=> problem: the contentHeader is not shown anymore
If you scroll to the end, you will see an extra space at the end of the view