mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
// 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.Window 2.2
|
||||||
import QtQuick.Dialogs 1.2
|
import QtQuick.Dialogs 1.2
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
|
@ -26,40 +27,48 @@ Kirigami.ScrollablePage {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: qsTr('Date: ')
|
text: qsTr('Date: ')
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: date
|
text: date
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: qsTr('Name: ')
|
text: qsTr('Name: ')
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: name
|
text: name
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: qsTr('Latitude: ')
|
text: qsTr('Latitude: ')
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: latitude
|
text: latitude
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: qsTr('Longitude: ')
|
text: qsTr('Longitude: ')
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
text: longitude
|
text: longitude
|
||||||
|
color: subsurfaceTheme.textColor
|
||||||
font.pointSize: subsurfaceTheme.smallPointSize
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue