From bec029c766c1f0f83d01b412692c29b6147d805c Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 1 Oct 2018 10:58:57 +0200 Subject: QML UI: trivial resize of datebox Something that I simply overlooked earlier with respect to scaling the divelist. The trip databox did scale a bit, but it was not nicely related to the hight of the trip header. So there was a tiny overflow on the small scale on a small device. Fixed here. Signed-off-by: Jan Mulder --- mobile-widgets/qml/DiveList.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 5c1633a2b..5c260028e 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -256,8 +256,8 @@ Kirigami.ScrollablePage { Rectangle { id: dateBox visible: section != "" - height: section == "" ? 0 : 2 * Kirigami.Units.gridUnit - width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit + height: section == "" ? 0 : parent.height - Kirigami.Units.smallSpacing + width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit * PrefDisplay.mobile_scale color: subsurfaceTheme.primaryColor radius: Kirigami.Units.smallSpacing * 2 antialiasing: true -- cgit v1.2.3-70-g09d2