mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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>
This commit is contained in:
parent
6a47af2d16
commit
9e9e06aed6
1 changed files with 18 additions and 0 deletions
|
@ -91,6 +91,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Date:")
|
text: qsTr("Date:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtDate;
|
id: txtDate;
|
||||||
|
@ -99,6 +100,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Location:")
|
text: qsTr("Location:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtLocation;
|
id: txtLocation;
|
||||||
|
@ -108,6 +110,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Coordinates:")
|
text: qsTr("Coordinates:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtGps
|
id: txtGps
|
||||||
|
@ -118,6 +121,7 @@ Item {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Use current\nGPS location:")
|
text: qsTr("Use current\nGPS location:")
|
||||||
visible: manager.locationServiceAvailable
|
visible: manager.locationServiceAvailable
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
SsrfCheckBox {
|
SsrfCheckBox {
|
||||||
id: checkboxGPS
|
id: checkboxGPS
|
||||||
|
@ -131,6 +135,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Depth:")
|
text: qsTr("Depth:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtDepth
|
id: txtDepth
|
||||||
|
@ -140,6 +145,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Duration:")
|
text: qsTr("Duration:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtDuration
|
id: txtDuration
|
||||||
|
@ -159,6 +165,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Water Temp:")
|
text: qsTr("Water Temp:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtWaterTemp
|
id: txtWaterTemp
|
||||||
|
@ -168,6 +175,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Suit:")
|
text: qsTr("Suit:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
HintsTextEdit {
|
HintsTextEdit {
|
||||||
id: suitBox
|
id: suitBox
|
||||||
|
@ -179,6 +187,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Buddy:")
|
text: qsTr("Buddy:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
HintsTextEdit {
|
HintsTextEdit {
|
||||||
id: buddyBox
|
id: buddyBox
|
||||||
|
@ -190,6 +199,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Divemaster:")
|
text: qsTr("Divemaster:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
HintsTextEdit {
|
HintsTextEdit {
|
||||||
id: divemasterBox
|
id: divemasterBox
|
||||||
|
@ -201,6 +211,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Weight:")
|
text: qsTr("Weight:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtWeight
|
id: txtWeight
|
||||||
|
@ -211,6 +222,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Cylinder:")
|
text: qsTr("Cylinder:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
HintsTextEdit {
|
HintsTextEdit {
|
||||||
id: cylinderBox
|
id: cylinderBox
|
||||||
|
@ -222,6 +234,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Gas mix:")
|
text: qsTr("Gas mix:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtGasMix
|
id: txtGasMix
|
||||||
|
@ -232,6 +245,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Start Pressure:")
|
text: qsTr("Start Pressure:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtStartPressure
|
id: txtStartPressure
|
||||||
|
@ -241,6 +255,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("End Pressure:")
|
text: qsTr("End Pressure:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextField {
|
TextField {
|
||||||
id: txtEndPressure
|
id: txtEndPressure
|
||||||
|
@ -250,6 +265,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Rating:")
|
text: qsTr("Rating:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
SpinBox {
|
SpinBox {
|
||||||
id: ratingPicker
|
id: ratingPicker
|
||||||
|
@ -262,6 +278,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
text: qsTr("Visibility:")
|
text: qsTr("Visibility:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
SpinBox {
|
SpinBox {
|
||||||
id: visibilityPicker
|
id: visibilityPicker
|
||||||
|
@ -275,6 +292,7 @@ Item {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.alignment: Qt.AlignLeft
|
Layout.alignment: Qt.AlignLeft
|
||||||
text: qsTr("Notes:")
|
text: qsTr("Notes:")
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
}
|
}
|
||||||
TextArea {
|
TextArea {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
|
|
Loading…
Reference in a new issue