diff options
author | Jaime van Kessel <nallath@gmail.com> | 2018-11-06 11:18:20 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2018-11-06 11:18:20 +0300 |
commit | 9f246910bc0e7334553490e8bacf0a7415cd487d (patch) | |
tree | bbd4dd320980c35e400d7994b1e2593568539de7 /resources/qml/Account/AvatarImage.qml | |
parent | 99bac25ab2d7a75ac5e6c9bcceebe75367babc28 (diff) |
Make avatar image border a bit wider
This prevents a white edge from showing
CURA-5772
Diffstat (limited to 'resources/qml/Account/AvatarImage.qml')
-rw-r--r-- | resources/qml/Account/AvatarImage.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/qml/Account/AvatarImage.qml b/resources/qml/Account/AvatarImage.qml index c730ef428f..436babe5a3 100644 --- a/resources/qml/Account/AvatarImage.qml +++ b/resources/qml/Account/AvatarImage.qml @@ -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") |