diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2014-04-08 17:28:59 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 18:24:49 +0200 |
| commit | 781badd1b01fa029160bf567935543fe75a9b700 (patch) | |
| tree | ef8bef36795db8d4d156b56d42d2d118f9bfbc5b /src/controls/TableView.qml | |
| parent | 29c0dcc7707ecf43e36f83888866e6974b918010 (diff) | |
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>
Diffstat (limited to 'src/controls/TableView.qml')
| -rw-r--r-- | src/controls/TableView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index dd4ee3890..840461384 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 |
