mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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
4db79c8db9
commit
f6b09dd8c3
1 changed files with 30 additions and 0 deletions
|
@ -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…
Reference in a new issue