Fixed PanelSelectorButton highlight and profile item & delegates border clip
authorSami Rämö <sami.ramo@ixonos.com>
Thu, 18 Nov 2010 14:26:52 +0000 (16:26 +0200)
committerSami Rämö <sami.ramo@ixonos.com>
Thu, 18 Nov 2010 14:26:52 +0000 (16:26 +0200)
src/qmlui/DelegateBase.qml
src/qmlui/PanelSelectorButton.qml
src/qmlui/ProfileView.qml

index a531dc0..d17c426 100644 (file)
@@ -18,9 +18,11 @@ Item {
         anchors {
             left: parent.left
             right: parent.right
+            rightMargin: border.width
             top: parent.top
-            bottom: parent.bottom
             topMargin: 5
+            bottom: parent.bottom
+            bottomMargin: border.width
         }
 
         gradient: Gradient {
index 4c20a15..74afd6a 100644 (file)
@@ -49,7 +49,7 @@ Rectangle {
                 name: "highlight"
                 when: mouseArea.pressed
                 PropertyChanges {
-                    target: inner
+                    target: button
                     color: palette.highlight
                 }
             },
index 936f4a2..94f9a84 100644 (file)
@@ -14,9 +14,11 @@ Item {
         anchors {
             left: parent.left
             right: parent.right
+            rightMargin: border.width
             top: parent.top
-            bottom: parent.bottom
             topMargin: 5
+            bottom: parent.bottom
+            bottomMargin: border.width
         }
 
         gradient: Gradient {