mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 17:59:21 +00:00
fix(ui/views/App/Main/Contacts): avoid truncated avatars
This commit is contained in:
parent
4899a1abb2
commit
b340d811da
1 changed files with 13 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue