summaryrefslogtreecommitdiffstats
path: root/framework/qml/TreeView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r--framework/qml/TreeView.qml18
1 files changed, 3 insertions, 15 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index ab3367bb..6063d8c1 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -169,23 +169,11 @@ FocusScope {
169 width: parent.parent.parent ? parent.parent.parent.width : 0 169 width: parent.parent.parent ? parent.parent.parent.width : 0
170 focus: false 170 focus: false
171 hoverEnabled: true 171 hoverEnabled: true
172 Rectangle { 172 Kube.DelegateBackground {
173 anchors.fill: parent 173 anchors.fill: parent
174
175 color: Kube.Colors.textColor 174 color: Kube.Colors.textColor
176 175 focused: styleData.selected || delegateRoot.hovered
177 Rectangle { 176 selected: isActive
178 anchors.fill: parent
179 color: Kube.Colors.highlightColor
180 visible: isActive
181 }
182 Rectangle {
183 anchors.fill: parent
184 border.width: 2
185 border.color: Kube.Colors.focusedButtonColor
186 color: "transparent"
187 visible: styleData.selected || delegateRoot.hovered
188 }
189 } 177 }
190 } 178 }
191 179