diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 14:54:39 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 14:54:39 +0200 |
commit | 86f2da09bd3edd33a293cab0feb147340bff8f63 (patch) | |
tree | fe18e1dd5727f6f55361e7d33f916024fe5d7108 | |
parent | ef27e4e4e5a8de9a267d2dc896cbd878ffb7982d (diff) | |
download | kube-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.
-rw-r--r-- | framework/qml/TreeView.qml | 7 |
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 | } |