QML-UI: add dive date to the detail view

That one really bugged me...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-07 14:59:52 -08:00
parent 96470d7dbf
commit 3d7475b964

View file

@ -30,6 +30,17 @@ GridLayout {
Layout.columnSpan: 4
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
}
MobileComponents.Label {
Layout.alignment: Qt.AlignRight
id: dateLabel
text: "Date: "
opacity: 0.6
}
MobileComponents.Label {
text: date
Layout.minimumWidth: Math.max(MobileComponents.Units.gridUnit * 4, paintedWidth) // helps vertical alignment throughout listview
Layout.columnSpan: 3
}
MobileComponents.Label {
Layout.alignment: Qt.AlignRight