8933a124d5af6e320354169d665f09a6e9aa4ff9
[harmattan/cameraplus] / qml / SectionHeader.qml
1 // -*- qml -*-
2 import QtQuick 1.1
3 import com.nokia.meego 1.1
4
5 Row {
6         id: root
7
8         anchors.left: parent.left
9         anchors.right: parent.right
10         anchors.leftMargin: 10
11         anchors.rightMargin: 10
12         spacing: 10
13
14         property alias text: label.text
15
16         Label {
17                 id: label
18                 verticalAlignment: Text.AlignVCenter
19         }
20
21         Rectangle {
22                 color: "darkgray"
23                 height: 2
24                 width: parent.width - label.width - 20
25                 anchors.verticalCenter: parent.verticalCenter
26         }
27 }