feat(SQ/StatusRoundedImage): Added border
If border is specified, the image has the same margin as the border, so the component embeds a border around the image.
This commit is contained in:
parent
69bf8c0e53
commit
87fa7cfe5a
|
@ -26,5 +26,6 @@ StatusRoundedComponent {
|
||||||
StatusImage {
|
StatusImage {
|
||||||
id: image
|
id: image
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
anchors.margins: parent.border.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue