diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-29 20:17:58 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-29 20:18:06 -0500 |
commit | a11e719f1a754194d00406857fb195b4b41cbd4d (patch) | |
tree | e40af541e7e129e5dd6a04be531a0f2072ff4910 /qt-mobile | |
parent | a065b974723896df91a8da93803fbb47571201bf (diff) | |
download | subsurface-a11e719f1a754194d00406857fb195b4b41cbd4d.tar.gz |
QML UI: add SAC rate to dive detail view
Not sure why this wasn't there before, it's certainly one of the more
interesting values for me.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/DiveDetailsView.qml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml index 126a9154b..50539fc4a 100644 --- a/qt-mobile/qml/DiveDetailsView.qml +++ b/qt-mobile/qml/DiveDetailsView.qml @@ -249,10 +249,25 @@ Item { MobileComponents.Label { id: txtBuddy text: dive.buddy - Layout.columnSpan: 3 wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere - Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width + detailsView.col4Width - Layout.preferredWidth: detailsView.col2Width + detailsView.col3Width + detailsView.col4Width + Layout.maximumWidth: detailsView.col2Width + Layout.preferredWidth: detailsView.col2Width + } + + MobileComponents.Label { + text: "SAC:" + wrapMode: Text.WrapAtWordBoundaryOrAnywhere + opacity: 0.6 + Layout.maximumWidth: detailsView.col3Width + Layout.preferredWidth: detailsView.col3Width + Layout.alignment: Qt.AlignRight + } + MobileComponents.Label { + id: txtSAC + text: dive.sac + wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere + Layout.maximumWidth: detailsView.col4Width + Layout.preferredWidth: detailsView.col4Width } MobileComponents.Heading { |