on xenial help sign in
Simpler code
commitdb3a7f71a92a02c1781f844399d645fe0f41d526 authorAlbert Astals <albert.astals@canonical.com> dateFri 22 Aug 2014, 12:41 (12 years ago) parentf43c72f
2 files changed+3−4
qml/Dash/GenericScopeView.qml+2−3 qml/Dash/PageHeader.qml+1−1
qml/Dash/GenericScopeView.qml+2−3
@@ -347,7 +347,8 @@ FocusScope {
347347 left: parent.left
348348 right: parent.right
349349 }
350− height: seeAllLabel.doShow ? seeAllLabel.font.pixelSize + units.gu(6) : 0
350+ height: baseItem.expandable && !baseItem.headerLink ? seeAllLabel.font.pixelSize + units.gu(6) : 0
351+ visible: height != 0
351352
352353 onClicked: {
353354 if (categoryView.expandedCategoryId != baseItem.category) {
@@ -367,8 +368,6 @@ FocusScope {
367368 fontSize: "small"
368369 font.weight: Font.Bold
369370 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
370− readonly property bool doShow: baseItem.expandable && !baseItem.headerLink
371− visible: doShow
372371 }
373372 }
374373
qml/Dash/PageHeader.qml+1−1
@@ -25,7 +25,7 @@ import "../Components/SearchHistoryModel"
2525Item {
2626 id: root
2727 objectName: "pageHeader"
28− implicitHeight: headerContainer.height + bottomContainer.height + (showSignatureLine ? units.gu(2) : 0);
28+ implicitHeight: headerContainer.height + bottomContainer.height + (showSignatureLine ? units.gu(2) : 0)
2929
3030 property bool showBackButton: false
3131 property string title