mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: somewhat improve GPS list rendering
At least now it's readable, but on the flipside there's now this odd margin around the entries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
92e06007cc
commit
72523ff0df
1 changed files with 0 additions and 9 deletions
|
@ -21,22 +21,13 @@ Kirigami.ScrollablePage {
|
||||||
id: gpsFix
|
id: gpsFix
|
||||||
enabled: true
|
enabled: true
|
||||||
width: parent.width
|
width: parent.width
|
||||||
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
|
|
||||||
|
|
||||||
Kirigami.BasicListItem {
|
Kirigami.BasicListItem {
|
||||||
supportsMouseEvents: true
|
supportsMouseEvents: true
|
||||||
width: parent.width - Kirigami.Units.gridUnit
|
width: parent.width - Kirigami.Units.gridUnit
|
||||||
height: childrenRect.height - Kirigami.Units.smallSpacing
|
|
||||||
icon: ""
|
icon: ""
|
||||||
GridLayout {
|
GridLayout {
|
||||||
columns: 4
|
columns: 4
|
||||||
id: timeAndName
|
id: timeAndName
|
||||||
anchors {
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: horizontalPadding
|
|
||||||
right: parent.right
|
|
||||||
rightMargin: horizontalPadding
|
|
||||||
}
|
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: qsTr('Date: ')
|
text: qsTr('Date: ')
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue