Commit d7eb4095 authored by Volker Krause's avatar Volker Krause

Fix header text color with the default style

parent 7963c5ec
......@@ -44,11 +44,13 @@ App.TimelineDelegate {
text: qsTr("🚌 %1 %2")
.arg(reservation.reservationFor.busName)
.arg(reservation.reservationFor.busNumber)
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
Layout.fillWidth: true
}
QQC2.Label {
text: Localizer.formatTime(reservation.reservationFor, "departureTime")
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
}
}
......
......@@ -46,6 +46,7 @@ App.TimelineDelegate {
.arg(reservation.reservationFor.flightNumber)
.arg(reservation.reservationFor.departureAirport.iataCode)
.arg(reservation.reservationFor.arrivalAirport.iataCode)
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
Layout.fillWidth: true
}
......@@ -53,6 +54,7 @@ App.TimelineDelegate {
text: isNaN(reservation.reservationFor.boardingTime.getTime()) ?
Localizer.formatTime(reservation.reservationFor, "departureTime") :
Localizer.formatTime(reservation.reservationFor, "boardingTime")
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
}
}
......
......@@ -42,6 +42,7 @@ App.TimelineDelegate {
QQC2.Label {
text: qsTr("🏨 %1").arg(reservation.reservationFor.name)
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
Layout.fillWidth: true
}
......
......@@ -42,11 +42,13 @@ App.TimelineDelegate {
QQC2.Label {
text: qsTr("🍴 %1").arg(reservation.reservationFor.name)
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
Layout.fillWidth: true
}
QQC2.Label {
text: Localizer.formatTime(reservation, "startTime")
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
}
}
......
......@@ -44,11 +44,13 @@ App.TimelineDelegate {
text: qsTr("🚄 %1 %2")
.arg(reservation.reservationFor.trainName)
.arg(reservation.reservationFor.trainNumber)
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
Layout.fillWidth: true
}
QQC2.Label {
text: Localizer.formatTime(reservation.reservationFor, "departureTime")
color: Kirigami.Theme.textColor
font.pointSize: Kirigami.Theme.defaultFont.pointSize * root.headerFontScale
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment