~renatofilho/ubuntu-ui-toolkit/save-alarms-in-local-time

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml

  • Committer: Tarmac
  • Author(s): Tim Peeters
  • Date: 2014-10-05 21:03:34 UTC
  • mfrom: (1240.2.20 20-sm)
  • Revision ID: tarmac-20141005210334-kw41w6c1s7tz1zjc
Add selection mode as a preset to the header configuration. Fixes: https://bugs.launchpad.net/bugs/1370146.

Approved by PS Jenkins bot, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
            Label {
369
369
                objectName: "header_title_label"
370
370
                LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
371
 
                visible: !contentsContainer.visible
 
371
                visible: !contentsContainer.visible && styledItem.config.preset === ""
372
372
                anchors {
373
373
                    left: parent.left
374
374
                    right: parent.right
450
450
                    objectName: action.objectName + "_header_button"
451
451
                    action: actionsContainer.visibleActions[index]
452
452
                    color: styledItem.config.foregroundColor
 
453
                    state: styledItem.config.preset === "select" ?
 
454
                               "IconAndLabel" : ""
453
455
                }
454
456
            }
455
457