More qml cleanups
This commit is contained in:
parent
1512810303
commit
2b1c9af311
39 changed files with 198 additions and 284 deletions
|
|
@ -37,8 +37,9 @@ ApplicationWindow {
|
|||
Avatar {
|
||||
id: roomAvatar
|
||||
|
||||
width: 130
|
||||
height: width
|
||||
Layout.preferredHeight: 130
|
||||
Layout.preferredWidth: 130
|
||||
|
||||
roomid: members.roomId
|
||||
displayName: members.roomName
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
@ -130,8 +131,8 @@ ApplicationWindow {
|
|||
Avatar {
|
||||
id: avatar
|
||||
|
||||
width: Nheko.avatarSize
|
||||
height: Nheko.avatarSize
|
||||
Layout.preferredWidth: Nheko.avatarSize
|
||||
Layout.preferredHeight: Nheko.avatarSize
|
||||
userid: model.mxid
|
||||
url: model.avatarUrl.replace("mxc://", "image://MxcImage/")
|
||||
displayName: model.displayName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue