Git commit 7e681f0aa32027a452f3d61aecac4f0370740c63 by Lu=C3=ADs Gabriel Li= ma. Committed on 17/06/2012 at 20:53. Pushed by luisgabriellima into branch 'plasma/luisgabriellima/weatherstatio= n-qml'. Fixing text elements Signed-off-by: Lu=C3=ADs Gabriel Lima M +11 -2 applets/weatherstation/package/contents/ui/main.qml http://commits.kde.org/kdeplasma-addons/7e681f0aa32027a452f3d61aecac4f03707= 40c63 diff --git a/applets/weatherstation/package/contents/ui/main.qml b/applets/= weatherstation/package/contents/ui/main.qml index 3af6a89..97a7b12 100644 --- a/applets/weatherstation/package/contents/ui/main.qml +++ b/applets/weatherstation/package/contents/ui/main.qml @@ -86,9 +86,13 @@ Item { anchors { top: parent.top left: parent.left + right: parent.right topMargin: 12 * resizeOpts.hScaleFactor leftMargin: 5 * resizeOpts.wScaleFactor + rightMargin: 5 * resizeOpts.wScaleFactor } + horizontalAlignment: Text.AlignLeft + elide: Text.ElideRight font { family: "DejaVu Sans" pixelSize: Math.round(8 * resizeOpts.wScaleFactor) @@ -225,12 +229,17 @@ Item { Text { id: providerLabel anchors { + left: parent.left + right: parent.right bottom: parent.bottom - horizontalCenter: parent.horizontalCenter + leftMargin: 5 * resizeOpts.wScaleFactor + rightMargin: 5 * resizeOpts.wScaleFactor } + horizontalAlignment: Text.AlignHCenter + elide: Text.ElideRight font { family: "DejaVu Sans" - pixelSize: 7 * resizeOpts.hScaleFactor + pixelSize: Math.round(7 * resizeOpts.hScaleFactor) } color: weatherLabel.color smooth: true