summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/BottomLine.qml
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-11-17 15:49:14 +0100
committerIvan Solovev <ivan.solovev@qt.io>2023-12-21 14:33:03 +0100
commit375e0e2c74adad9b609f5e48dffb88b07158bbfe (patch)
tree41bbe617ff8115203d2add659be7eaec78b1f26b /examples/bluetooth/heartrate-game/BottomLine.qml
parent08b54c9b06b5dbf50c80c2d609625c0af94e2ce6 (diff)
Update BTLE Heartrate Game example UI
Improve the example according to the new design: * Apply new colors * Rework layouts to match the updated design * Use icons in the notification/error box * Apply new font sizes * Update screenshots in the docs, convert them to webp so that they do not take too much space. * Disable the Start button on the Measure tab if the device is not connected, or if the proper service is not discovered. * As a drive-by - fix the wording in the docs. Fixes: QTBUG-118905 Pick-to: 6.7 6.6 Change-Id: I90669ea05c5c6b76eb711862c494f1180dbd8dd7 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game/BottomLine.qml')
-rw-r--r--examples/bluetooth/heartrate-game/BottomLine.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/BottomLine.qml b/examples/bluetooth/heartrate-game/BottomLine.qml
index caebc307..80fdaa8c 100644
--- a/examples/bluetooth/heartrate-game/BottomLine.qml
+++ b/examples/bluetooth/heartrate-game/BottomLine.qml
@@ -6,7 +6,6 @@ import QtQuick
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
- width: parent.width * 0.85
+ width: parent.width
height: parent.height * 0.05
- radius: height*0.5
}