From ee3d7f662545d37dba50fb2e74f9cd60d6b27af4 Mon Sep 17 00:00:00 2001 From: Arseniy Movshev Date: Thu, 20 Jul 2023 16:49:59 +0100 Subject: Make spacings consistent across previews --- src/heartrate/HeartratePreview.qml | 2 +- src/stepCounter/StepCounterPreview.qml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/heartrate/HeartratePreview.qml b/src/heartrate/HeartratePreview.qml index 7b79264..ae9c5ef 100644 --- a/src/heartrate/HeartratePreview.qml +++ b/src/heartrate/HeartratePreview.qml @@ -32,7 +32,7 @@ Column { text: "Heartrate" } - Item { width: parent.width; height: parent.width*0.1} + Item { width: parent.width; height: parent.width*0.05} HrGraph { anchors.horizontalCenter: parent.horizontalCenter diff --git a/src/stepCounter/StepCounterPreview.qml b/src/stepCounter/StepCounterPreview.qml index 2a152f0..f6a0228 100644 --- a/src/stepCounter/StepCounterPreview.qml +++ b/src/stepCounter/StepCounterPreview.qml @@ -43,6 +43,8 @@ Column { text: "Steps" } + Item { width: parent.width; height: parent.width*0.05} + BarGraph { id: stepsGraph anchors.horizontalCenter: parent.horizontalCenter -- cgit v1.2.3-70-g09d2