mobile/dive-details: show tags

So far the user can't edit them, but at least they are now shown as
part of the dive details. Usage of tags varries widely, I've seen
people who use a LOT of tags to classify their dives, so I'm giving
this a complete row by itself.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-05-11 07:15:48 -07:00
parent 4db79c8db9
commit f6b09dd8c3

View file

@ -514,6 +514,36 @@ Item {
Layout.fillWidth: true
}
// seventh row
//------------
TemplateLabelSmall {
text: qsTr("Tags:")
opacity: 0.6
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.columnSpan: 3
Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width
Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
}
// eighth row
//------------
TemplateLabelSmall {
id: txtTags
text: tags
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.columnSpan: 3
color: subsurfaceTheme.textColor
}
Rectangle {
color: subsurfaceTheme.primaryColor
height: 1
opacity: 0.5
Layout.columnSpan: 3
Layout.fillWidth: true
}
// Notes on the bottom
//--------------------