diff options
Diffstat (limited to 'metawatch/qml/com/javispedro/sowatch')
-rw-r--r-- | metawatch/qml/com/javispedro/sowatch/metawatch/MWTitle.qml | 20 |
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 } } |