From 4ce8cdea4d5cad62546e4aa28c1ee9d3bbc41cd5 Mon Sep 17 00:00:00 2001 From: dodoradio Date: Thu, 20 Jul 2023 17:20:13 +0100 Subject: Remove positioning hints from reusable components --- src/graphs/BarGraph.qml | 1 - src/graphs/HrGraph.qml | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/graphs/BarGraph.qml b/src/graphs/BarGraph.qml index 1c869d7..c55097f 100644 --- a/src/graphs/BarGraph.qml +++ b/src/graphs/BarGraph.qml @@ -21,7 +21,6 @@ import org.asteroid.controls 1.0 Item { id: barGraph - anchors.horizontalCenter: parent.horizontalCenter property var valuesArr: [] property var labelsArr: [] property var maxValue: 0 diff --git a/src/graphs/HrGraph.qml b/src/graphs/HrGraph.qml index cba15a5..0ea5cce 100644 --- a/src/graphs/HrGraph.qml +++ b/src/graphs/HrGraph.qml @@ -24,8 +24,6 @@ import org.asteroid.sensorlogd 1.0 Item { id: graph - width: parent.width*0.9 - anchors.horizontalCenter: parent.horizontalCenter Component.onCompleted: { hrGraph.loadGraphData(hrDataLoader.getTodayData()) -- cgit v1.2.3-70-g09d2