Fix #3887: Remove useless scroll bars in treeview

This commit is contained in:
Igor Malinovskiy
2017-09-15 11:28:08 +03:00
parent f53e549eb5
commit 5e6ebcd74f
+3 -1
View File
@@ -11,6 +11,8 @@ TreeView {
alternatingRowColors: false
headerVisible: false
focus: true
horizontalScrollBarPolicy: Qt.ScrollBarAsNeeded
verticalScrollBarPolicy: Qt.ScrollBarAsNeeded
TableViewColumn {
title: "item"
@@ -32,7 +34,7 @@ TreeView {
id: itemColumn
title: "item"
role: "name"
width: root.width - 20
width: root.width - 50
}
itemDelegate: FocusScope {