@@ -149,9 +149,6 @@ FocusScope {
149 source: getRenderer(model.renderer, results)
149 source: getRenderer(model.renderer, results)
151 onLoaded: {
151 onLoaded: {
152− item.firstItem = Qt.binding(function() { return index === 0 });
153− // FIXME Should not rely on count field of model, SortfilterProxyModel in this case.
154− item.lastItem = Qt.binding(function() { return index === categoryView.model.count - 1 });
155 if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
152 if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
156 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
153 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
157 scopeView.enableHeightBehaviorOnNextCreation = false;
154 scopeView.enableHeightBehaviorOnNextCreation = false;
@@ -263,6 +260,31 @@ FocusScope {
271+ fillMode: Image.Stretch
272+ source: "graphics/dash_divider_top_lightgrad.png"
277+ // FIXME Should not rely on count field of model, SortfilterProxyModel in this case.
278+ visible: index != categoryView.model.count - 1
280+ bottom: parent.bottom
284+ fillMode: Image.Stretch
285+ source: "graphics/dash_divider_top_darkgrad.png"
268 onHeightChanged: rendererLoader.updateDelegateCreationRange();
290 onHeightChanged: rendererLoader.updateDelegateCreationRange();