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:
parent
93f4b0efb5
commit
38284f8e1a
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -34,7 +34,6 @@ Column {
|
|||||||
Column {
|
Column {
|
||||||
anchors {
|
anchors {
|
||||||
fill: parent
|
fill: parent
|
||||||
margins: 10
|
|
||||||
}
|
}
|
||||||
spacing: 10
|
spacing: 10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user