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 {
|
||||
fill: parent
|
||||
topMargin: 2
|
||||
bottomMargin: 2
|
||||
topMargin: -background.margins.top
|
||||
leftMargin: -background.margins.left
|
||||
bottomMargin: -background.margins.bottom
|
||||
rightMargin: -background.margins.right
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -34,7 +34,6 @@ Column {
|
||||
Column {
|
||||
anchors {
|
||||
fill: parent
|
||||
margins: 10
|
||||
}
|
||||
spacing: 10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user