From 74a4d1b1ab44274d208d4a52d666d39010f2227a Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 7 Jul 2014 14:23:31 +0200 Subject: Improve qlowenergyscanner example UI This patch improves the UI. The changes will be validated against a high DPI device at a later stage. Change-Id: Iac15941dd983fb65cc5f3ccf6803c2e95d43c3b4 Reviewed-by: Fabian Bumberger --- examples/bluetooth/lowenergyscanner/assets/Label.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/bluetooth/lowenergyscanner/assets/Label.qml') 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 } -- cgit v1.2.3