summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 15:04:42 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-20 10:51:18 -0800
commit31b28a31a99053463c7ab5ce3bd83aae82f4cb13 (patch)
tree7a7de0b267a3a9832d4c1e7e4e27e73de3953ef1 /mobile-widgets/qml
parent791daa67b1205ba0919e2a0fa6129ca7c5e4121d (diff)
downloadsubsurface-31b28a31a99053463c7ab5ce3bd83aae82f4cb13.tar.gz
mobile/UI: shrink dive log date button
This was too big relative to the page layout. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 71daf19fe..063b0a4c4 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -95,10 +95,10 @@ Kirigami.ScrollablePage {
visible: isTrip
Rectangle {
id: dateBox
- height: 1.8 * Kirigami.Units.gridUnit
- width: 2.2 * Kirigami.Units.gridUnit
+ height: 1.5 * Kirigami.Units.gridUnit
+ width: 1.8 * Kirigami.Units.gridUnit
color: subsurfaceTheme.primaryColor
- radius: Kirigami.Units.smallSpacing * 2
+ radius: Kirigami.Units.smallSpacing * 1.5
antialiasing: true
anchors {
verticalCenter: parent.verticalCenter
@@ -111,7 +111,7 @@ Kirigami.ScrollablePage {
color: subsurfaceTheme.primaryTextColor
font.pointSize: subsurfaceTheme.smallPointSize * 0.8
lineHeightMode: Text.FixedHeight
- lineHeight: Kirigami.Units.gridUnit *.8
+ lineHeight: Kirigami.Units.gridUnit *.6
horizontalAlignment: Text.AlignHCenter
height: contentHeight
anchors {