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:
parent
08d8d97630
commit
41b0c135c4
@ -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
|
||||
//--------------------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user