From fe521a64945fe25ba67c2aff1932f3b36e993b59 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 15 Jan 2014 16:47:39 +0100 Subject: 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 --- src/controls/TableView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/controls/TableView.qml') 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: { -- cgit v1.2.1