From 31b28a31a99053463c7ab5ce3bd83aae82f4cb13 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 17 Dec 2020 15:04:42 -0800 Subject: [PATCH] mobile/UI: shrink dive log date button This was too big relative to the page layout. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 8 ++++---- 1 file 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 {