Make avatar image border a bit wider

This prevents a white edge from showing

CURA-5772
This commit is contained in:
Jaime van Kessel 2018-11-06 09:18:20 +01:00
parent 99bac25ab2
commit 9f246910bc

View file

@ -44,7 +44,10 @@ Item
UM.RecolorImage
{
id: profileImageOutline
anchors.fill: parent
anchors.centerIn: parent
// Make it a bit bigger than it has to, otherwise it sometimes shows a white border.
width: parent.width + 2
height: parent.height + 2
source: UM.Theme.getIcon("circle_outline")
sourceSize: Qt.size(parent.width, parent.height)
color: UM.Theme.getColor("account_widget_ouline_active")