summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/LightsBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui/LightsBox.qml')
-rw-r--r--basicsuite/ebike-ui/LightsBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicsuite/ebike-ui/LightsBox.qml b/basicsuite/ebike-ui/LightsBox.qml
index b920864..33ff043 100644
--- a/basicsuite/ebike-ui/LightsBox.qml
+++ b/basicsuite/ebike-ui/LightsBox.qml
@@ -41,8 +41,8 @@ import "./BikeStyle"
// Bottom-left corner, controls
Item {
- width: root.width * 0.425
- height: root.height * 0.45
+ width: parent.width * 0.425
+ height: parent.height * 0.45
property real imageMargin: Math.min(width, height) * 0.35
Image {