summaryrefslogtreecommitdiffstats
path: root/framework/qml/TreeView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-20 14:54:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-20 14:54:39 +0200
commit86f2da09bd3edd33a293cab0feb147340bff8f63 (patch)
treefe18e1dd5727f6f55361e7d33f916024fe5d7108 /framework/qml/TreeView.qml
parentef27e4e4e5a8de9a267d2dc896cbd878ffb7982d (diff)
downloadkube-86f2da09bd3edd33a293cab0feb147340bff8f63.tar.gz
kube-86f2da09bd3edd33a293cab0feb147340bff8f63.zip
Position the branch delegate properly
It was off before, and is now nicely aligned with the text for me.
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r--framework/qml/TreeView.qml7
1 files changed, 1 insertions, 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 {
165 } 165 }
166 166
167 branchDelegate: Kube.Label { 167 branchDelegate: Kube.Label {
168 width: 16 168 anchors.centerIn: parent
169 height: width
170 anchors.verticalCenter: parent.verticalCenter
171 anchors.left: parent.left
172 anchors.leftMargin: Kube.Units.smallSpacing
173
174 color: Kube.Colors.viewBackgroundColor 169 color: Kube.Colors.viewBackgroundColor
175 text: styleData.isExpanded ? "-" : "+" 170 text: styleData.isExpanded ? "-" : "+"
176 } 171 }