Change records to look better.

This commit is contained in:
2020-06-11 10:43:22 -04:00
parent cbcd7e400e
commit 6bb61fd210

View File

@@ -240,17 +240,26 @@ Kirigami.ApplicationWindow {
model: recordModel model: recordModel
delegate: Kirigami.SwipeListItem { delegate: Kirigami.SwipeListItem {
contentItem: Layouts.ColumnLayout { contentItem: Layouts.ColumnLayout {
Controls.Label { Kirigami.Heading {
text: serviceprovider text: serviceprovider
level: 2
} }
Controls.Label { Kirigami.Heading {
text: servicetypename text: servicetypename
level: 2
} }
Controls.Label { Controls.Label {
text: new Date(servicedate).toLocaleDateString(Qt.locale()) text: new Date(servicedate).toLocaleDateString(Qt.locale())
} }
Controls.Label { Row {
text: miles Image {
source: "qrc:/speed.svg"
sourceSize.width: 16
sourceSize.height: 16
}
Controls.Label {
text: miles
}
} }
Controls.Label { Controls.Label {
text: notes text: notes