@@ -153,9 +153,6 @@ FocusScope {
153 source: getRenderer(model.renderer, results)
153 source: getRenderer(model.renderer, results)
155 onLoaded: {
155 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 });
159 if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
156 if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
160 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
157 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
161 scopeView.enableHeightBehaviorOnNextCreation = false;
158 scopeView.enableHeightBehaviorOnNextCreation = false;
@@ -267,6 +264,31 @@ FocusScope {
275+ fillMode: Image.Stretch
276+ source: "graphics/dash_divider_top_lightgrad.png"
281+ // FIXME Should not rely on count field of model, SortfilterProxyModel in this case.
282+ visible: index != categoryView.model.count - 1
284+ bottom: parent.bottom
288+ fillMode: Image.Stretch
289+ source: "graphics/dash_divider_top_darkgrad.png"
272 onHeightChanged: rendererLoader.updateDelegateCreationRange();
294 onHeightChanged: rendererLoader.updateDelegateCreationRange();