@@ -259,13 +259,13 @@ FocusScope {
259 var shouldExpand = categoryId === categoryView.expandedCategoryId;
259 var shouldExpand = categoryId === categoryView.expandedCategoryId;
260 if (shouldExpand != baseItem.expanded) {
260 if (shouldExpand != baseItem.expanded) {
261 // If the filter animation will be seen start it, otherwise, just flip the switch
261 // If the filter animation will be seen start it, otherwise, just flip the switch
262− var shrinkingVisible = !shouldExpand && y + item.collapsedHeight < categoryView.height;
262+ var shrinkingVisible = !shouldExpand && y + item.collapsedHeight + seeAll.height < categoryView.height;
263 var growingVisible = shouldExpand && y + height < categoryView.height;
263 var growingVisible = shouldExpand && y + height < categoryView.height;
264 if (!previewListView.open || shouldExpand) {
264 if (!previewListView.open || shouldExpand) {
265 var animate = shrinkingVisible || growingVisible;
265 var animate = shrinkingVisible || growingVisible;
266 baseItem.expand(shouldExpand, animate)
266 baseItem.expand(shouldExpand, animate)
267 if (shouldExpand && !previewListView.open) {
267 if (shouldExpand && !previewListView.open) {
268− categoryView.maximizeVisibleArea(index, item.expandedHeight);
268+ categoryView.maximizeVisibleArea(index, item.expandedHeight + seeAll.height);
@@ -302,10 +302,41 @@ FocusScope {
302 item.displayMarginEnd = -baseItem.height;
302 item.displayMarginEnd = -baseItem.height;
304 item.displayMarginBeginning = -Math.max(-baseItem.y, 0);
304 item.displayMarginBeginning = -Math.max(-baseItem.y, 0);
305− item.displayMarginEnd = -Math.max(baseItem.height - categoryView.height + baseItem.y, 0)
305+ item.displayMarginEnd = -Math.max(baseItem.height - seeAll.height
306+ - categoryView.height + baseItem.y, 0)
315+ top: rendererLoader.bottom
319+ height: baseItem.expandable ? seeAllLabel.font.pixelSize + units.gu(6) : 0
322+ if (categoryView.expandedCategoryId != baseItem.category)
323+ categoryView.expandedCategoryId = baseItem.category;
325+ categoryView.expandedCategoryId = "";
330+ text: baseItem.expanded ? i18n.tr("See less") : i18n.tr("See all")
333+ verticalCenterOffset: units.gu(-0.5)
336+ font.weight: Font.Bold
337+ color: scopeStyle ? scopeStyle.foreground : "grey"
338+ visible: baseItem.expandable
311 visible: index != 0
342 visible: index != 0
@@ -341,17 +372,6 @@ FocusScope {
341 width: categoryView.width
372 width: categoryView.width
342 text: section
373 text: section
343 textColor: scopeStyle ? scopeStyle.foreground : "grey"
374 textColor: scopeStyle ? scopeStyle.foreground : "grey"
345− if (delegate && delegate.expandable)
346− return delegate.expanded ? "graphics/header_handlearrow2.png" : "graphics/header_handlearrow.png"
350− if (categoryView.expandedCategoryId != delegate.category)
351− categoryView.expandedCategoryId = delegate.category;
353− categoryView.expandedCategoryId = "";
357 pageHeader: PageHeader {
377 pageHeader: PageHeader {