mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: fix GPS list rendering
There was an extra BasicListItem inside the SwipeListItem. This commit just removes 5 lines, the rest is indentation change. Fixes #312 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
052be692bb
commit
cc6c41c846
1 changed files with 41 additions and 45 deletions
|
@ -19,51 +19,47 @@ Kirigami.ScrollablePage {
|
||||||
id: gpsFix
|
id: gpsFix
|
||||||
enabled: true
|
enabled: true
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Kirigami.BasicListItem {
|
GridLayout {
|
||||||
supportsMouseEvents: true
|
columns: 4
|
||||||
width: parent.width - Kirigami.Units.gridUnit
|
id: timeAndName
|
||||||
icon: ""
|
width: parent.width
|
||||||
GridLayout {
|
Kirigami.Label {
|
||||||
columns: 4
|
text: qsTr('Date: ')
|
||||||
id: timeAndName
|
opacity: 0.6
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: qsTr('Date: ')
|
}
|
||||||
opacity: 0.6
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: date
|
||||||
}
|
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: date
|
}
|
||||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: qsTr('Name: ')
|
||||||
}
|
opacity: 0.6
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: qsTr('Name: ')
|
}
|
||||||
opacity: 0.6
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: name
|
||||||
}
|
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: name
|
}
|
||||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: qsTr('Latitude: ')
|
||||||
}
|
opacity: 0.6
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: qsTr('Latitude: ')
|
}
|
||||||
opacity: 0.6
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: latitude
|
||||||
}
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
Kirigami.Label {
|
}
|
||||||
text: latitude
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: qsTr('Longitude: ')
|
||||||
}
|
opacity: 0.6
|
||||||
Kirigami.Label {
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
text: qsTr('Longitude: ')
|
}
|
||||||
opacity: 0.6
|
Kirigami.Label {
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
text: longitude
|
||||||
}
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
Kirigami.Label {
|
|
||||||
text: longitude
|
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
actions: [
|
actions: [
|
||||||
|
|
Loading…
Add table
Reference in a new issue