[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-runtime] plasma/declarativeimports/plasmacomponents/qml: be sure to H align the text if our ico
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-19 5:09:15
Message-ID: 20120219050915.1CE23A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 7552f160ff1c01a338f9093eeb56a7db1396c5a2 by Shaun Reich.
Committed on 19/02/2012 at 06:08.
Pushed by sreich into branch 'master'.

be sure to H align the text if our icon is valid in a Button

M  +1    -1    plasma/declarativeimports/plasmacomponents/qml/Button.qml

http://commits.kde.org/kde-runtime/7552f160ff1c01a338f9093eeb56a7db1396c5a2

diff --git a/plasma/declarativeimports/plasmacomponents/qml/Button.qml b/pl=
asma/declarativeimports/plasmacomponents/qml/Button.qml
index 6aab1b2..eb0f119 100644
--- a/plasma/declarativeimports/plasmacomponents/qml/Button.qml
+++ b/plasma/declarativeimports/plasmacomponents/qml/Button.qml
@@ -250,7 +250,7 @@ Item {
             font.weight: theme.defaultFont.weight
             font.wordSpacing: theme.defaultFont.wordSpacing
             color: theme.buttonTextColor
-            horizontalAlignment: icon.valid ? Text.AlignLeft : Text.AlignH=
Center
+            horizontalAlignment: icon.valid ? Text.AlignHCenter : Text.Ali=
gnLeft
             verticalAlignment: Text.AlignVCenter
         }
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic