mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +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
|
||||
enabled: true
|
||||
width: parent.width
|
||||
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
|
||||
|
||||
Kirigami.BasicListItem {
|
||||
supportsMouseEvents: true
|
||||
width: parent.width - Kirigami.Units.gridUnit
|
||||
height: childrenRect.height - Kirigami.Units.smallSpacing
|
||||
icon: ""
|
||||
GridLayout {
|
||||
columns: 4
|
||||
id: timeAndName
|
||||
anchors {
|
||||
left: parent.left
|
||||
leftMargin: horizontalPadding
|
||||
right: parent.right
|
||||
rightMargin: horizontalPadding
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: qsTr('Date: ')
|
||||
opacity: 0.6
|
||||
|
|
Loading…
Add table
Reference in a new issue