diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-07-07 14:23:31 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-07-15 20:39:46 +0200 |
commit | 74a4d1b1ab44274d208d4a52d666d39010f2227a (patch) | |
tree | b404e803933b12fe2464cb8b9523ebaf577b72e1 /examples/bluetooth/lowenergyscanner/assets/Label.qml | |
parent | c39189a922ce7057b410eba12e80abac589712cf (diff) |
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 <fbumberger@rim.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/Label.qml')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/assets/Label.qml | 3 |
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 } |