diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetailsView.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetailsView.qml | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml index bf1408755..c8502d02f 100644 --- a/qt-mobile/qml/DiveDetailsView.qml +++ b/qt-mobile/qml/DiveDetailsView.qml @@ -104,7 +104,6 @@ Item { Layout.minimumHeight: width * 0.75 Layout.columnSpan: 4 clip: false - devicePixelRatio: Kirigami.Units.devicePixelRatio Rectangle { color: "transparent" opacity: 0.6 @@ -250,10 +249,25 @@ Item { Kirigami.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 + } + + Kirigami.Label { + text: "SAC:" + wrapMode: Text.WrapAtWordBoundaryOrAnywhere + opacity: 0.6 + Layout.maximumWidth: detailsView.col3Width + Layout.preferredWidth: detailsView.col3Width + Layout.alignment: Qt.AlignRight + } + Kirigami.Label { + id: txtSAC + text: dive.sac + wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere + Layout.maximumWidth: detailsView.col4Width + Layout.preferredWidth: detailsView.col4Width } Kirigami.Heading { |