summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/ModeBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui/ModeBox.qml')
-rw-r--r--basicsuite/ebike-ui/ModeBox.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/basicsuite/ebike-ui/ModeBox.qml b/basicsuite/ebike-ui/ModeBox.qml
index 490bc16..7250d30 100644
--- a/basicsuite/ebike-ui/ModeBox.qml
+++ b/basicsuite/ebike-ui/ModeBox.qml
@@ -42,11 +42,12 @@ import "./BikeStyle"
// Bottom-right corner, mode
Item {
- width: root.width * 0.425
- height: root.height * 0.45
+ width: parent.width * 0.425
+ height: parent.height * 0.45
Text {
id: sportModeText
+ clip: clipDynamicText
anchors {
bottom: parent.bottom
bottomMargin: parent.height * 0.3
@@ -63,6 +64,7 @@ Item {
Text {
id: cruiseModeText
+ clip: clipDynamicText
anchors {
bottom: sportModeText.top
bottomMargin: parent.height * 0.025