mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Revert "QML UI DiveDetailsView: shift dive number to right of top row"
This reverts commit 1030cb265a
.
Simply trying to find out if this is the cause for the odd crashes one
tester is seeing.
This commit is contained in:
parent
d6af28cc90
commit
cba50ece33
1 changed files with 16 additions and 9 deletions
|
@ -72,13 +72,8 @@ Item {
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
text: dive.date + " " + dive.time
|
text: dive.date + " " + dive.time
|
||||||
Layout.columnSpan: 2
|
Layout.minimumWidth: Math.max(MobileComponents.Units.gridUnit * 4, paintedWidth) // helps vertical alignment throughout listview
|
||||||
}
|
Layout.columnSpan: 3
|
||||||
MobileComponents.Label {
|
|
||||||
id: numberText
|
|
||||||
Layout.alignment: Qt.AlignRight
|
|
||||||
text: "#" + dive.number
|
|
||||||
color: MobileComponents.Theme.textColor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
|
@ -89,14 +84,26 @@ Item {
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
text: dive.depth
|
text: dive.depth
|
||||||
|
Layout.minimumWidth: Math.max(MobileComponents.Units.gridUnit * 4, paintedWidth) // helps vertical alignment throughout listview
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: "Duration: "
|
text: "Duration: "
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
RowLayout {
|
||||||
text: dive.duration
|
MobileComponents.Label {
|
||||||
|
text: dive.duration
|
||||||
|
}
|
||||||
|
Item {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
height: parent.height
|
||||||
|
}
|
||||||
|
MobileComponents.Label {
|
||||||
|
id: numberText
|
||||||
|
text: "#" + dive.number
|
||||||
|
color: MobileComponents.Theme.textColor
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QMLProfile {
|
QMLProfile {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue