18 import Ubuntu.Components 0.1
19 import
"../Components"
24 width: container.width + units.gu(2)
27 property string headerText: i18n.tr(
"Search")
34 onClicked: search.clicked()
39 objectName:
"container"
42 width: childrenRect.width
45 leftMargin: units.gu(1)
49 Behavior on opacity { StandardAnimation { duration: 300 } }
53 source:
"graphics/search.png"
54 anchors.verticalCenter: parent.verticalCenter
58 text: search.headerText
59 color: Qt.rgba(0.8, 0.8, 0.8, 1.0)
61 font.capitalization: Font.AllUppercase
62 anchors.verticalCenter: parent.verticalCenter