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