summaryrefslogtreecommitdiffstats
path: root/framework/qml/TreeView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 01:42:35 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 01:42:35 +0200
commite683441ee9a9e904b70be313ef19417dac20b4c6 (patch)
tree4e8c113493fd1e6b7d9ac61f2c31d36e62ba8511 /framework/qml/TreeView.qml
parent4ecabd624eea1903d3eaffecec6471523fd8f4ce (diff)
downloadkube-e683441ee9a9e904b70be313ef19417dac20b4c6.tar.gz
kube-e683441ee9a9e904b70be313ef19417dac20b4c6.zip
Show activeFocus via underline
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r--framework/qml/TreeView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index c0be01f3..12fee752 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -54,6 +54,7 @@ Flickable {
54 } 54 }
55 implicitHeight: __listView.contentItem.height 55 implicitHeight: __listView.contentItem.height
56 height: __listView.contentItem.height 56 height: __listView.contentItem.height
57 focus: true
57 58
58 verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff 59 verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
59 horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff 60 horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
@@ -191,6 +192,7 @@ Flickable {
191 } 192 }
192 text: styleData.value 193 text: styleData.value
193 elide: Qt.ElideRight 194 elide: Qt.ElideRight
195 font.underline: treeView.activeFocus
194 color: Kube.Colors.viewBackgroundColor 196 color: Kube.Colors.viewBackgroundColor
195 } 197 }
196 } 198 }