[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:38:50
Message-ID: 20120213013850.D26AFA60C6 () git ! kde ! org
[Download RAW message or body]

Git commit 43902caab0bef2c8f3f26bda35b5f717af0342c4 by Shaun Reich.
Committed on 13/02/2012 at 02:38.
Pushed by sreich into branch 'plasma/sreich/tasks-qml'.

fix anchoring a bit, rm dead code

M  +3    -14   plasma/desktop/applets/tasks/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/43902caab0bef2c8f3f26bda35b5f717af0342=
c4

diff --git a/plasma/desktop/applets/tasks/package/contents/ui/main.qml b/pl=
asma/desktop/applets/tasks/package/contents/ui/main.qml
index cb3fed1..d76c9ce 100644
--- a/plasma/desktop/applets/tasks/package/contents/ui/main.qml
+++ b/plasma/desktop/applets/tasks/package/contents/ui/main.qml
@@ -134,29 +134,18 @@ Item {
                 PlasmaCore.FrameSvgItem {
                     id: taskBackground
 =

-                    width: 300; height: 30
+                    width: 300
 =

-//                    anchors { left: icon.left; top: icon.top; bottom: ic=
on.bottom }
+                    anchors { left: icon.left; right: text.right; top: ico=
n.top; bottom: icon.bottom }
 =

                     imagePath: "widgets/tasks"
                     prefix: "normal"
-                    //                prefix: {
-                        //                    if (model.minimized) {
-                            //                        "focus"
-                    //                    } else {
-                        //                        if (hovered) {
-                            //                            "hover"
-                    //                        } else {
-                        //                            "normal"
-                    //                        }
-                    //                    }
-                    //                }
                 }
 =

                 QIconItem {
                     id: icon
 =

-//                    anchors { left: taskBackground.left; verticalCenter:=
 taskBackground.verticalCenter }
+                    anchors { left: taskBackground.left; verticalCenter: t=
askBackground.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