From b50202bfc5b0242e81fff3c6cb6f7472e569ed53 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Thu, 12 Nov 2015 00:43:23 +0100 Subject: Use styled text items in divedetails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using Label instead of text gives us consistent coloring and styling of the text labels. Also remove the boldness to make it comply to the design language used. Signed-off-by: Sebastian Kügler Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index c65c92d2d..67d4a7d5c 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -53,7 +53,7 @@ Item { id: editorDetails width: parent.width columns: 2 - Text { + Label { Layout.columnSpan: 2 Layout.alignment: Qt.AlignHCenter text: "Dive " + number + " (" + date + ")"; font.bold: true @@ -64,19 +64,19 @@ Item { id: qmlProfile height: 500 } - Text { text: "Location:"; font.bold: true } + Label { text: "Location:" } TextField { id: txtLocation; text: location; Layout.fillWidth: true } - Text { text: "Air Temp:"; font.bold: true } + Label { text: "Air Temp:" } TextField { id: txtAirTemp; text: airtemp; Layout.fillWidth: true } - Text { text: "Water Temp:"; font.bold: true } + Label { text: "Water Temp:" } TextField { id: txtWaterTemp; text: watertemp; Layout.fillWidth: true } - Text { text: "Suit:"; font.bold: true } + Label { text: "Suit:" } TextField { id: txtSuit; text: suit; Layout.fillWidth: true } - Text { text: "Buddy:"; font.bold: true } + Label { text: "Buddy:" } TextField { id: txtBuddy; text: buddy; Layout.fillWidth: true } - Text { text: "Dive Master:"; font.bold: true } + Label { text: "Dive Master:" } TextField { id: txtDiveMaster; text: divemaster; Layout.fillWidth: true} - Text { text: "Notes:"; font.bold: true } + Label { text: "Notes:" } TextEdit{ id: txtNotes text: notes -- cgit v1.2.3-70-g09d2