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 {
fill: parent
topMargin: 2
bottomMargin: 2
topMargin: -background.margins.top
leftMargin: -background.margins.left
bottomMargin: -background.margins.bottom
rightMargin: -background.margins.right
}
}
}

View File

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

View File

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