mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:15:54 +08:00
Make avatar image border a bit wider
This prevents a white edge from showing CURA-5772
This commit is contained in:
parent
99bac25ab2
commit
9f246910bc
@ -44,7 +44,10 @@ Item
|
|||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
{
|
{
|
||||||
id: profileImageOutline
|
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")
|
source: UM.Theme.getIcon("circle_outline")
|
||||||
sourceSize: Qt.size(parent.width, parent.height)
|
sourceSize: Qt.size(parent.width, parent.height)
|
||||||
color: UM.Theme.getColor("account_widget_ouline_active")
|
color: UM.Theme.getColor("account_widget_ouline_active")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user