Commit 7c11cb46 authored by Filip Fila's avatar Filip Fila 🌆
Browse files

[Kickoff] Fix default avatar offset

Nowadays we place avatars inside a circle with an always visible border.

The default avatar has not been adjusted for this and has both its own dimensions and positioning.

This patch has it fill the avatar circle and shifts it upwards a bit because otherwise the avatar overflows the circle when scaling is increased.

Anchors.bottomMargin is used instead of anchors.margins because the latter results in a blurry SVG, while the former doesn't and looks just fine.

BUG: 414687
parent 346fc482
......@@ -114,13 +114,8 @@ Item {
PlasmaCore.IconItem {
source: "user-identity"
visible: faceIcon.status !== Image.Ready
width: units.gridUnit * 3
height: width
anchors {
right: faceIcon.right
rightMargin: -units.gridUnit/2
anchors.fill: faceIcon
anchors.bottomMargin: units.smallSpacing
usesPlasmaTheme: false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment