mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +00:00
QML-UI: add dive date to the detail view
That one really bugged me... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
96470d7dbf
commit
3d7475b964
1 changed files with 11 additions and 0 deletions
|
@ -30,6 +30,17 @@ GridLayout {
|
||||||
Layout.columnSpan: 4
|
Layout.columnSpan: 4
|
||||||
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
||||||
}
|
}
|
||||||
|
MobileComponents.Label {
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
id: dateLabel
|
||||||
|
text: "Date: "
|
||||||
|
opacity: 0.6
|
||||||
|
}
|
||||||
|
MobileComponents.Label {
|
||||||
|
text: date
|
||||||
|
Layout.minimumWidth: Math.max(MobileComponents.Units.gridUnit * 4, paintedWidth) // helps vertical alignment throughout listview
|
||||||
|
Layout.columnSpan: 3
|
||||||
|
}
|
||||||
|
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
|
|
Loading…
Reference in a new issue