From 6bb61fd210fe56ba222adbc1b12a93c3023b0e36 Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Thu, 11 Jun 2020 10:43:22 -0400 Subject: [PATCH] Change records to look better. --- src/contents/ui/main.qml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index b76bff4..7da7011 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -240,17 +240,26 @@ Kirigami.ApplicationWindow { model: recordModel delegate: Kirigami.SwipeListItem { contentItem: Layouts.ColumnLayout { - Controls.Label { + Kirigami.Heading { text: serviceprovider + level: 2 } - Controls.Label { + Kirigami.Heading { text: servicetypename + level: 2 } Controls.Label { text: new Date(servicedate).toLocaleDateString(Qt.locale()) } - Controls.Label { - text: miles + Row { + Image { + source: "qrc:/speed.svg" + sourceSize.width: 16 + sourceSize.height: 16 + } + Controls.Label { + text: miles + } } Controls.Label { text: notes -- GitLab