summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/GpsList.qml
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-15 18:20:52 +0200
committerGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-15 18:21:03 +0200
commita4e3a4cb255e5112bd09a918dba9959f2caba120 (patch)
treec60769cb878a3cd44c72e76fa2d58228b5de23e7 /mobile-widgets/qml/GpsList.qml
parent03a52b37bc193a56371532734641fd4e1c0072b4 (diff)
downloadsubsurface-a4e3a4cb255e5112bd09a918dba9959f2caba120.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml/GpsList.qml')
-rw-r--r--mobile-widgets/qml/GpsList.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/mobile-widgets/qml/GpsList.qml b/mobile-widgets/qml/GpsList.qml
index 5ed641481..7ad97e14c 100644
--- a/mobile-widgets/qml/GpsList.qml
+++ b/mobile-widgets/qml/GpsList.qml
@@ -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
}
}