@@ -23,7 +23,7 @@ import "../Components"
2323Item {
2424 id: root
2525 objectName: "pageHeader"
26− implicitHeight: headerContainer.height + bottomContainer.height + signatureLineHeight
26+ implicitHeight: headerContainer.height + signatureLineHeight
2727 readonly property real signatureLineHeight: showSignatureLine ? units.gu(2) : 0
2828
2929 property int activeFiltersCount: 0
@@ -44,7 +44,6 @@ Item {
4444 property alias searchHint: searchTextField.placeholderText
4545 property bool showSignatureLine: true
4646
47− property alias bottomItem: bottomContainer.children
4847 property int paginationCount: 0
4948 property int paginationIndex: -1
5049
@@ -129,9 +128,10 @@ Item {
129128 }
130129
131130 InverseMouseArea {
132− anchors { fill: parent; margins: units.gu(1); bottomMargin: units.gu(3) + bottomContainer.height }
131+ anchors { fill: parent; margins: units.gu(1); bottomMargin: units.gu(3) + (extraPanel ? extraPanel.height : 0) }
133132 visible: headerContainer.showSearch
134133 onPressed: {
134+ extraPanel.visible = false;
135135 closePopup(/* keepFocus */false);
136136 mouse.accepted = false;
137137 }
@@ -296,7 +296,6 @@ Item {
296296 property color panelColor: background.topColor
297297 panelForegroundColor: config.foregroundColor
298298 config: PageHeadConfiguration {
299− title: root.title
300299 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
301300 backAction: Action {
302301 iconName: backIsClose ? "close" : "back"
@@ -346,7 +345,7 @@ Item {
346345 right: parent.right
347346 verticalCenter: parent.verticalCenter
348347 }
349− text: header.title
348+ text: root.title
350349 font.weight: header.fontWeight
351350 fontSize: header.fontSize
352351 color: header.panelForegroundColor
@@ -392,7 +391,7 @@ Item {
392391 top: headerContainer.bottom
393392 left: parent.left
394393 right: parent.right
395− bottom: bottomContainer.top
394+ bottom: parent.bottom
396395 }
397396
398397 color: root.scopeStyle ? root.scopeStyle.headerDividerColor : "#e0e0e0"
@@ -433,7 +432,7 @@ Item {
433432 id: bottomHighlight
434433 visible: bottomBorder.visible
435434 anchors {
436− top: bottomContainer.top
435+ top: parent.bottom
437436 left: parent.left
438437 right: parent.right
439438 }
@@ -456,15 +455,4 @@ Item {
456455 } else "#CCFFFFFF"
457456 }
458457 }
459−
460− Item {
461− id: bottomContainer
462−
463− anchors {
464− left: parent.left
465− right: parent.right
466− bottom: parent.bottom
467− }
468− height: childrenRect.height
469− }
470458}