diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-01-15 16:47:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-23 09:45:20 +0100 |
commit | fe521a64945fe25ba67c2aff1932f3b36e993b59 (patch) | |
tree | 78b354d09214ed35deec74945454c5d04817e4b4 /src/controls/TableView.qml | |
parent | 0b575c91d3f2fcd1d22b759ab7c9b6ffe8d4cea0 (diff) | |
download | qtquickcontrols-fe521a64945fe25ba67c2aff1932f3b36e993b59.tar.gz |
TableViewColumn: make resizing easier on touchscreens
Hitting the boundary between the columns is hard with a finger.
Change-Id: I1f2fd87dd87ec8f04dd3fbf4e58b7c6200bc493c
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/TableView.qml')
-rw-r--r-- | src/controls/TableView.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index ae9ad9c6..6a773aa6 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -42,6 +42,7 @@ import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Controls.Private 1.0 import QtQuick.Controls.Styles 1.1 +import QtQuick.Window 2.1 /*! \qmltype TableView @@ -982,7 +983,8 @@ ScrollView { property int offset: 0 property int minimumSize: 20 anchors.rightMargin: -width/2 - width: 16 ; height: parent.height + width: Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 16 + height: parent.height anchors.right: parent.right enabled: modelData.resizable && columnCount > 1 onPositionChanged: { |