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.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index 7abfe271..445ad673 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -38,7 +38,7 @@ Flickable {
38 38
39 Controls2.ScrollBar.vertical: Controls2.ScrollBar {} 39 Controls2.ScrollBar.vertical: Controls2.ScrollBar {}
40 clip: true 40 clip: true
41 contentWidth: treeView.width 41 contentWidth: root.width
42 contentHeight: treeView.implicitHeight 42 contentHeight: treeView.implicitHeight
43 Kube.ScrollHelper { 43 Kube.ScrollHelper {
44 id: scrollHelper 44 id: scrollHelper
@@ -150,8 +150,10 @@ Flickable {
150 anchors { 150 anchors {
151 verticalCenter: parent.verticalCenter 151 verticalCenter: parent.verticalCenter
152 left: parent.left 152 left: parent.left
153 right: parent.right
153 } 154 }
154 text: styleData.value 155 text: styleData.value
156 elide: Qt.ElideRight
155 color: Kube.Colors.viewBackgroundColor 157 color: Kube.Colors.viewBackgroundColor
156 } 158 }
157 } 159 }