~aacid/unity8/moreAsyncAudioCard

« back to all changes in this revision

Viewing changes to qml/Dash/DashPageHeader.qml

  • Committer: Albert Astals Cid
  • Date: 2016-03-10 08:32:16 UTC
  • mfrom: (2136.2.83 unity8)
  • Revision ID: albert.astals@canonical.com-20160310083216-8nnplxl85qx13xd0
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
            anchors { left: parent.left; right: parent.right }
171
171
 
172
172
            PageHeadStyle {
 
173
                // FIXME: Replace PageHeadStyle from the Ambiance theme by the new PageHeader from Ubuntu.Components 1.3.
173
174
                id: searchHeader
174
175
                anchors { left: parent.left; right: parent.right }
175
176
                opacity: headerContainer.clip || headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
179
180
                property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
180
181
                property color panelColor: background.topColor
181
182
                panelForegroundColor: config.foregroundColor
 
183
                backgroundColor: "transparent"
182
184
                config: PageHeadConfiguration {
183
185
                    foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
184
186
                    backAction: Action {
241
243
            }
242
244
 
243
245
            PageHeadStyle {
 
246
                // FIXME: Replace PageHeadStyle from the Ambiance theme by the new PageHeader from Ubuntu.Components 1.3.
244
247
                id: header
245
248
                objectName: "innerPageHeader"
246
249
                anchors { left: parent.left; right: parent.right }
251
254
                property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
252
255
                property color panelColor: background.topColor
253
256
                panelForegroundColor: config.foregroundColor
 
257
                backgroundColor: "transparent"
254
258
                config: PageHeadConfiguration {
255
259
                    title: root.title
256
260
                    foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText