Fix Highlight plasma component margins

The SVG margins was not being considered.

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
This commit is contained in:
Daker Fernandes Pinheiro 2011-07-15 20:51:42 -03:00
parent 93f4b0efb5
commit 38284f8e1a
3 changed files with 5 additions and 7 deletions

View File

@ -40,8 +40,10 @@ Item {
anchors { anchors {
fill: parent fill: parent
topMargin: 2 topMargin: -background.margins.top
bottomMargin: 2 leftMargin: -background.margins.left
bottomMargin: -background.margins.bottom
rightMargin: -background.margins.right
} }
} }
} }

View File

@ -71,10 +71,7 @@ Column {
Item { Item {
width: 200 width: 200
height: 200 height: 200
PlasmaComponents.Highlight { PlasmaComponents.Highlight { anchors.fill: parent }
anchors.fill: parent
anchors.margins: -10
}
Flickable { Flickable {
id: scrollArea id: scrollArea
anchors.fill: parent anchors.fill: parent

View File

@ -34,7 +34,6 @@ Column {
Column { Column {
anchors { anchors {
fill: parent fill: parent
margins: 10
} }
spacing: 10 spacing: 10