Commit b340d811 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/Main/Contacts): avoid truncated avatars

parent 4899a1ab
......@@ -223,11 +223,19 @@ ColumnLayout {
}
spacing: ContactsStyle.contact.spacing
Avatar {
Layout.preferredHeight: ContactsStyle.contact.avatarSize
Layout.preferredWidth: ContactsStyle.contact.avatarSize
image: $contact.vcard.avatar
username: $contact.vcard.username
Item {
Layout.preferredHeight: parent.height
Layout.preferredWidth: parent.height
Avatar {
anchors.centerIn: parent
image: $contact.vcard.avatar
username: $contact.vcard.username
height: ContactsStyle.contact.avatarSize
width: ContactsStyle.contact.avatarSize
}
}
Text {
......
Markdown is supported
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