diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-20 23:54:39 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-20 23:54:39 +0200 |
commit | 4c32da590f444c985b8ea3cc5edcbc36d37943fa (patch) | |
tree | 26c9930413b4b446c551c94821c254672f9bf555 /framework/qml/TreeView.qml | |
parent | fc7fac22a00c32511f87d8fa815a9bef553f72ea (diff) | |
download | kube-4c32da590f444c985b8ea3cc5edcbc36d37943fa.tar.gz kube-4c32da590f444c985b8ea3cc5edcbc36d37943fa.zip |
Simplified layout
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r-- | framework/qml/TreeView.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index 6fd3084f..bf2abddd 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml | |||
@@ -139,7 +139,7 @@ Flickable { | |||
139 | rowDelegate: Rectangle { | 139 | rowDelegate: Rectangle { |
140 | color: styleData.selected ? Kube.Colors.highlightColor : Kube.Colors.textColor | 140 | color: styleData.selected ? Kube.Colors.highlightColor : Kube.Colors.textColor |
141 | height: Kube.Units.gridUnit * 1.5 | 141 | height: Kube.Units.gridUnit * 1.5 |
142 | width: 20 | 142 | width: parent.width |
143 | } | 143 | } |
144 | 144 | ||
145 | frame: Rectangle { | 145 | frame: Rectangle { |
@@ -160,8 +160,7 @@ Flickable { | |||
160 | //radius: styleData.isExpanded ? 0 : 100 | 160 | //radius: styleData.isExpanded ? 0 : 100 |
161 | } | 161 | } |
162 | 162 | ||
163 | itemDelegate: Rectangle { | 163 | itemDelegate: Item { |
164 | color: styleData.selected ? Kube.Colors.highlightColor : Kube.Colors.textColor | ||
165 | 164 | ||
166 | DropArea { | 165 | DropArea { |
167 | anchors.fill: parent | 166 | anchors.fill: parent |