From 4c32da590f444c985b8ea3cc5edcbc36d37943fa Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 20 Jul 2017 23:54:39 +0200 Subject: Simplified layout --- framework/qml/TreeView.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'framework/qml') diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index 6fd3084f..bf2abddd 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml @@ -139,7 +139,7 @@ Flickable { rowDelegate: Rectangle { color: styleData.selected ? Kube.Colors.highlightColor : Kube.Colors.textColor height: Kube.Units.gridUnit * 1.5 - width: 20 + width: parent.width } frame: Rectangle { @@ -160,8 +160,7 @@ Flickable { //radius: styleData.isExpanded ? 0 : 100 } - itemDelegate: Rectangle { - color: styleData.selected ? Kube.Colors.highlightColor : Kube.Colors.textColor + itemDelegate: Item { DropArea { anchors.fill: parent -- cgit v1.2.3