summaryrefslogtreecommitdiff
path: root/metawatch/qml
diff options
context:
space:
mode:
Diffstat (limited to 'metawatch/qml')
-rw-r--r--metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml20
1 files changed, 13 insertions, 7 deletions
diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml b/metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml
index 5369c18..3f31130 100644
--- a/metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml
+++ b/metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml
@@ -5,13 +5,19 @@ Rectangle {
height: 16
property alias text: label.text
+ property alias icon: image
- Row {
- anchors.fill: parent
- anchors.margins: 1
- Text {
- id: label
- font.bold: true
- }
+ Image {
+ id: image
+ anchors.left: parent.left
+ anchors.top: parent.top
+ }
+
+ Text {
+ id: label
+ anchors.left: image.right
+ anchors.leftMargin: 2
+ anchors.verticalCenter: parent
+ font.bold: true
}
}