summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-11-18 10:40:36 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-27 17:38:08 +0100
commit8a908dababc1b505e521ce8f622d0d2814874200 (patch)
tree4f8eef42bfe57f6f76845106b4b27cf101d7fe66
parentd0e2555346e514003ced23799e27e94295c56677 (diff)
downloadqtlocation-8a908dababc1b505e521ce8f622d0d2814874200.tar.gz
Fix cut of string when weather string is longer
Task-number: QTBUG-34910 Change-Id: I90a1748496b55b2e69db5c94fa217f79d43c176f Reviewed-by: Jim Ehrismann <jehrismann@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--examples/positioning/weatherinfo/components/BigForecastIcon.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/positioning/weatherinfo/components/BigForecastIcon.qml b/examples/positioning/weatherinfo/components/BigForecastIcon.qml
index 6583d6d3..16e99bf8 100644
--- a/examples/positioning/weatherinfo/components/BigForecastIcon.qml
+++ b/examples/positioning/weatherinfo/components/BigForecastIcon.qml
@@ -70,7 +70,10 @@ Item {
Text {
text: current.bottomText
- font.pointSize: 28
+ font.pointSize: 23
+ wrapMode: Text.WordWrap
+ width: parent.width
+ horizontalAlignment: Text.AlignRight
anchors {
bottom: current.bottom
right: current.right