summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/assets/Label.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/Label.qml')
-rw-r--r--examples/bluetooth/lowenergyscanner/assets/Label.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/Label.qml b/examples/bluetooth/lowenergyscanner/assets/Label.qml
index 7576ffb7..1dced831 100644
--- a/examples/bluetooth/lowenergyscanner/assets/Label.qml
+++ b/examples/bluetooth/lowenergyscanner/assets/Label.qml
@@ -45,6 +45,9 @@ Text {
font.pixelSize: 30
anchors.horizontalCenter: parent.horizontalCenter
color: "#363636"
+ horizontalAlignment: Text.AlignHCenter
elide: Text.ElideMiddle
+ width: parent.width
+ wrapMode: Text.Wrap
text: textContent
}