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

List:       kde-commits
Subject:    [kde-runtime/KDE/4.8] plasma/declarativeimports/plasmacomponents/qml: hack margins so listview
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-03-07 19:59:37
Message-ID: 20120307195937.2584AA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit e9080e573478b376a4321da83df80d4d93d911ce by Shaun Reich.
Committed on 09/02/2012 at 19:22.
Pushed by sreich into branch 'KDE/4.8'.

hack margins so listview doesn't suck
(cherry picked from commit 441f7ee40cb0b91819a37fb53ee3d63d56653f69)

M  +5    -4    plasma/declarativeimports/plasmacomponents/qml/Highlight.qml

http://commits.kde.org/kde-runtime/e9080e573478b376a4321da83df80d4d93d911ce

diff --git a/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml b=
/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
index 4efb0ea..9c5addd 100644
--- a/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
+++ b/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
@@ -60,10 +60,11 @@ Item {
 =

         anchors {
             fill: parent
-            topMargin: -background.margins.top
-            leftMargin: -background.margins.left
-            bottomMargin: -background.margins.bottom
-            rightMargin: -background.margins.right
+        //FIXME: breaks listviews and highlight item
+        //    topMargin: -background.margins.top
+        //    leftMargin: -background.margins.left
+        //    bottomMargin: -background.margins.bottom
+        //    rightMargin: -background.margins.right
         }
     }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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