summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordodoradio <dodoradio@outlook.com>2023-07-20 17:20:13 +0100
committerdodoradio <dodoradio@outlook.com>2023-07-20 19:17:49 +0100
commit4ce8cdea4d5cad62546e4aa28c1ee9d3bbc41cd5 (patch)
treee4ba9bd8f5e8afbf5a5126f8156451a85acf5a4c
parentee3d7f662545d37dba50fb2e74f9cd60d6b27af4 (diff)
Remove positioning hints from reusable components
-rw-r--r--src/graphs/BarGraph.qml1
-rw-r--r--src/graphs/HrGraph.qml2
2 files changed, 0 insertions, 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())