From 86f2da09bd3edd33a293cab0feb147340bff8f63 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 20 Aug 2018 14:54:39 +0200 Subject: Position the branch delegate properly It was off before, and is now nicely aligned with the text for me. --- framework/qml/TreeView.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index 3f30959f..7ec3e170 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml @@ -165,12 +165,7 @@ FocusScope { } branchDelegate: Kube.Label { - width: 16 - height: width - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left - anchors.leftMargin: Kube.Units.smallSpacing - + anchors.centerIn: parent color: Kube.Colors.viewBackgroundColor text: styleData.isExpanded ? "-" : "+" } -- cgit v1.2.3