on xenial help sign in
reshuffle
918be28Albert Astals
qml/Dash/PageHeader.qml+4−5
@@ -166,9 +166,6 @@ Item {
166
166
167 PageHeadStyle {
167 PageHeadStyle {
168 id: searchHeader
168 id: searchHeader
169− property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
170− property color panelColor: background.topColor
171−
172 anchors { left: parent.left; right: parent.right }
169 anchors { left: parent.left; right: parent.right }
173 height: headerContainer.height
170 height: headerContainer.height
174 contentHeight: height
171 contentHeight: height
@@ -177,6 +174,8 @@ Item {
177 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.
174 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.
178 property var styledItem: searchHeader
175 property var styledItem: searchHeader
179 property string title
176 property string title
177+ property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
178+ property color panelColor: background.topColor
180 property var config: PageHeadConfiguration {
179 property var config: PageHeadConfiguration {
181 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
180 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
182 backAction: Action {
181 backAction: Action {
@@ -240,8 +239,6 @@ Item {
240 PageHeadStyle {
239 PageHeadStyle {
241 id: header
240 id: header
242 objectName: "innerPageHeader"
241 objectName: "innerPageHeader"
243− property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
244− property color panelColor: background.topColor
245 anchors { left: parent.left; right: parent.right }
242 anchors { left: parent.left; right: parent.right }
246 height: headerContainer.height
243 height: headerContainer.height
247 contentHeight: height
244 contentHeight: height
@@ -249,6 +246,8 @@ Item {
249 __separator_visible: false
246 __separator_visible: false
250 property var styledItem: header
247 property var styledItem: header
251 property string title: root.title
248 property string title: root.title
249+ property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
250+ property color panelColor: background.topColor
252 property var config: PageHeadConfiguration {
251 property var config: PageHeadConfiguration {
253 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
252 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
254 backAction: Action {
253 backAction: Action {