mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:23:23 +00:00
QML UI: style the GPS fixes page
Add styling to the GPS fixes page. The background color of the swipe list objects is wrong and also the icon overlay. This is a Kirigami issue. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
03a52b37bc
commit
a4e3a4cb25
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
import QtQuick 2.3
|
||||
import QtQuick 2.6
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Dialogs 1.2
|
||||
import QtQuick.Layouts 1.1
|
||||
|
@ -26,40 +27,48 @@ Kirigami.ScrollablePage {
|
|||
width: parent.width
|
||||
Kirigami.Label {
|
||||
text: qsTr('Date: ')
|
||||
color: subsurfaceTheme.textColor
|
||||
opacity: 0.6
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: date
|
||||
color: subsurfaceTheme.textColor
|
||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: qsTr('Name: ')
|
||||
color: subsurfaceTheme.textColor
|
||||
opacity: 0.6
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: name
|
||||
color: subsurfaceTheme.textColor
|
||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: qsTr('Latitude: ')
|
||||
color: subsurfaceTheme.textColor
|
||||
opacity: 0.6
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: latitude
|
||||
color: subsurfaceTheme.textColor
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: qsTr('Longitude: ')
|
||||
color: subsurfaceTheme.textColor
|
||||
opacity: 0.6
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
Kirigami.Label {
|
||||
text: longitude
|
||||
color: subsurfaceTheme.textColor
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue