summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2014-04-08 17:28:59 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-08 18:24:49 +0200
commit781badd1b01fa029160bf567935543fe75a9b700 (patch)
treeef8bef36795db8d4d156b56d42d2d118f9bfbc5b
parent29c0dcc7707ecf43e36f83888866e6974b918010 (diff)
downloadqtquickcontrols-781badd1b01fa029160bf567935543fe75a9b700.tar.gz
Allow TableView headers to be resized in a Flickable
Setting preventStealing to true will allow headers to be resized when in a horizontal flickable. Task-number: QTBUG-37941 Change-Id: I7be45409d96c7940f5f70b311cdedd3a8b7844ed Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-rw-r--r--src/controls/TableView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index dd4ee389..84046138 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -1047,6 +1047,7 @@ ScrollView {
id: headerResizeHandle
property int offset: 0
property int minimumSize: 20
+ preventStealing: true
anchors.rightMargin: -width/2
width: Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 16
height: parent.height