@@ -153,9 +153,6 @@ FocusScope {
153153 source: getRenderer(model.renderer, results)
154154
155155 onLoaded: {
156− item.firstItem = Qt.binding(function() { return index === 0 });
157− // FIXME Should not rely on count field of model, SortfilterProxyModel in this case.
158− item.lastItem = Qt.binding(function() { return index === categoryView.model.count - 1 });
159156 if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
160157 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
161158 scopeView.enableHeightBehaviorOnNextCreation = false;
@@ -267,6 +264,31 @@ FocusScope {
267264 }
268265 }
269266 }
267+
268+ Image {
269+ visible: index != 0
270+ anchors {
271+ top: parent.top
272+ left: parent.left
273+ right: parent.right
274+ }
275+ fillMode: Image.Stretch
276+ source: "graphics/dash_divider_top_lightgrad.png"
277+ z: -1
278+ }
279+
280+ Image {
281+ // FIXME Should not rely on count field of model, SortfilterProxyModel in this case.
282+ visible: index != categoryView.model.count - 1
283+ anchors {
284+ bottom: parent.bottom
285+ left: parent.left
286+ right: parent.right
287+ }
288+ fillMode: Image.Stretch
289+ source: "graphics/dash_divider_top_darkgrad.png"
290+ z: -1
291+ }
270292 }
271293
272294 onHeightChanged: rendererLoader.updateDelegateCreationRange();