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

List:       kde-commits
Subject:    [kde-workspace/plasma/sreich/tasks-qml] plasma/desktop/applets/tasks/package/contents/ui: fix anchor
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-13 1:44:05
Message-ID: 20120213014405.6CF1AA60B9 () git ! kde ! org
[Download RAW message or body]

Git commit 544e394a331920bc673730605b88da781cbaed04 by Shaun Reich.
Committed on 13/02/2012 at 02:43.
Pushed by sreich into branch 'plasma/sreich/tasks-qml'.

fix anchors some more, still a loop ref here somewhere

M  +12   -2    plasma/desktop/applets/tasks/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/544e394a331920bc673730605b88da781cbaed=
04

diff --git a/plasma/desktop/applets/tasks/package/contents/ui/main.qml b/pl=
asma/desktop/applets/tasks/package/contents/ui/main.qml
index 064763f..fa85525 100644
--- a/plasma/desktop/applets/tasks/package/contents/ui/main.qml
+++ b/plasma/desktop/applets/tasks/package/contents/ui/main.qml
@@ -136,7 +136,17 @@ Item {
 =

 //                    width: text.width + icon.width
 =

-                    anchors { left: icon.left; right: text.right; top: ico=
n.top; bottom: icon.bottom }
+                    anchors {
+                        left: icon.left
+                        right: text.right
+                        top: parent.top
+                        bottom: icon.bottom
+
+                        leftMargin: -5
+                        rightMargin: -5
+                        topMargin: -5
+                        bottomMargin: -5
+                    }
 =

                     imagePath: "widgets/tasks"
                     prefix: "normal"
@@ -145,7 +155,7 @@ Item {
                 QIconItem {
                     id: icon
 =

-                    anchors { left: taskBackground.left; verticalCenter: t=
askBackground.verticalCenter }
+                    anchors { left: parent.left; verticalCenter: taskBackg=
round.verticalCenter }
 =

                     icon: model.DecorationRole
                     width: 22
[prev in list] [next in list] [prev in thread] [next in thread] 

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