summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/DiveDetailsView.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml
index 75c17c3ad..ce7f2485e 100644
--- a/qt-mobile/qml/DiveDetailsView.qml
+++ b/qt-mobile/qml/DiveDetailsView.qml
@@ -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