aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-07-20 16:49:59 +0100
committerdodoradio <dodoradio@outlook.com>2023-07-20 19:17:49 +0100
commitee3d7f662545d37dba50fb2e74f9cd60d6b27af4 (patch)
tree456158d8c29f78ab08e180f7fe755f525df0975a
parentf298c6bc220ea19a4bca9fdc4a44a7799d695b25 (diff)
Make spacings consistent across previews
-rw-r--r--src/heartrate/HeartratePreview.qml2
-rw-r--r--src/stepCounter/StepCounterPreview.qml2
2 files changed, 3 insertions, 1 deletions
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