mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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>
This commit is contained in:
parent
a065b97472
commit
a11e719f1a
1 changed files with 18 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue