on xenial help sign in
Simpler code
db3a7f7Albert Astals
qml/Dash/GenericScopeView.qml+2−3
@@ -347,7 +347,8 @@ FocusScope {
347 left: parent.left
347 left: parent.left
348 right: parent.right
348 right: parent.right
349 }
349 }
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
351
352
352 onClicked: {
353 onClicked: {
353 if (categoryView.expandedCategoryId != baseItem.category) {
354 if (categoryView.expandedCategoryId != baseItem.category) {
@@ -367,8 +368,6 @@ FocusScope {
367 fontSize: "small"
368 fontSize: "small"
368 font.weight: Font.Bold
369 font.weight: Font.Bold
369 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
370 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
370− readonly property bool doShow: baseItem.expandable && !baseItem.headerLink
371− visible: doShow
372 }
371 }
373 }
372 }
374
373
qml/Dash/PageHeader.qml+1−1
@@ -25,7 +25,7 @@ import "../Components/SearchHistoryModel"
25Item {
25Item {
26 id: root
26 id: root
27 objectName: "pageHeader"
27 objectName: "pageHeader"
28− implicitHeight: headerContainer.height + bottomContainer.height + (showSignatureLine ? units.gu(2) : 0);
28+ implicitHeight: headerContainer.height + bottomContainer.height + (showSignatureLine ? units.gu(2) : 0)
29
29
30 property bool showBackButton: false
30 property bool showBackButton: false
31 property string title
31 property string title