diff options
Diffstat (limited to 'framework/qml')
-rw-r--r-- | framework/qml/TreeView.qml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index caef0146..2392f6ef 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml | |||
@@ -183,16 +183,15 @@ FocusScope { | |||
183 | color: Kube.Colors.textColor | 183 | color: Kube.Colors.textColor |
184 | } | 184 | } |
185 | 185 | ||
186 | branchDelegate: Item { | 186 | branchDelegate: Kube.Label { |
187 | width: 16 | 187 | width: 16 |
188 | height: 16 | 188 | height: width |
189 | Kube.Label { | 189 | anchors.verticalCenter: parent.verticalCenter |
190 | anchors.centerIn: parent | 190 | anchors.left: parent.left |
191 | anchors.leftMargin: Kube.Units.smallSpacing | ||
191 | 192 | ||
192 | color: Kube.Colors.viewBackgroundColor | 193 | color: Kube.Colors.viewBackgroundColor |
193 | text: styleData.isExpanded ? "-" : "+" | 194 | text: styleData.isExpanded ? "-" : "+" |
194 | } | ||
195 | //radius: styleData.isExpanded ? 0 : 100 | ||
196 | } | 195 | } |
197 | 196 | ||
198 | itemDelegate: Item { | 197 | itemDelegate: Item { |