aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-28 20:09:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-02 18:49:47 -0700
commit9e9e06aed6429fafb603dffca6207f09d1d8c3b6 (patch)
tree17045ca91a9a1a0b5270bdeb832858e4d64fa3f6
parent6a47af2d16c522575c79828f6a3e71e59de76d78 (diff)
downloadsubsurface-9e9e06aed6429fafb603dffca6207f09d1d8c3b6.tar.gz
QML UI: decrease fontsize on dive edit
Decrease the fontsize of the static text on the dive edits page. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index 57f18dfb8..796c9a5b4 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -91,6 +91,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Date:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtDate;
@@ -99,6 +100,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Location:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtLocation;
@@ -108,6 +110,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Coordinates:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtGps
@@ -118,6 +121,7 @@ Item {
Layout.alignment: Qt.AlignRight
text: qsTr("Use current\nGPS location:")
visible: manager.locationServiceAvailable
+ font.pointSize: subsurfaceTheme.smallPointSize
}
SsrfCheckBox {
id: checkboxGPS
@@ -131,6 +135,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Depth:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtDepth
@@ -140,6 +145,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Duration:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtDuration
@@ -159,6 +165,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Water Temp:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtWaterTemp
@@ -168,6 +175,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Suit:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
HintsTextEdit {
id: suitBox
@@ -179,6 +187,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Buddy:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
HintsTextEdit {
id: buddyBox
@@ -190,6 +199,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Divemaster:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
HintsTextEdit {
id: divemasterBox
@@ -201,6 +211,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Weight:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtWeight
@@ -211,6 +222,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
HintsTextEdit {
id: cylinderBox
@@ -222,6 +234,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtGasMix
@@ -232,6 +245,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtStartPressure
@@ -241,6 +255,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextField {
id: txtEndPressure
@@ -250,6 +265,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Rating:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
SpinBox {
id: ratingPicker
@@ -262,6 +278,7 @@ Item {
Kirigami.Label {
Layout.alignment: Qt.AlignRight
text: qsTr("Visibility:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
SpinBox {
id: visibilityPicker
@@ -275,6 +292,7 @@ Item {
Layout.columnSpan: 2
Layout.alignment: Qt.AlignLeft
text: qsTr("Notes:")
+ font.pointSize: subsurfaceTheme.smallPointSize
}
TextArea {
Layout.columnSpan: 2