summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-12 00:43:23 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 19:05:20 -0800
commitb50202bfc5b0242e81fff3c6cb6f7472e569ed53 (patch)
tree5ba9fc6f67dc4bc0d5584e2d28731c14626bb134
parent91b951c362adbceac44bc2d9de0a5f90f012e6d1 (diff)
downloadsubsurface-b50202bfc5b0242e81fff3c6cb6f7472e569ed53.tar.gz
Use styled text items in divedetails
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 <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/DiveDetails.qml16
1 files 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