[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdeplasma-addons/plasma/luisgabriellima/weatherstation-qml] applets/weatherstation/package/contents
From: Luís_Gabriel_Lima <lampih () gmail ! com>
Date: 2012-06-30 20:45:54
Message-ID: 20120630204554.8D3AAA60C9 () git ! kde ! org
[Download RAW message or body]
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 <lampih@gmail.com>
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic