Fix room member list

This commit is contained in:
q234rty 2022-06-30 11:38:22 +08:00
parent b6bbbdeae7
commit bda88a0379
No known key found for this signature in database
GPG key ID: D7E83C63C8CC4545

View file

@ -182,10 +182,10 @@ ApplicationWindow {
return "image://colorimage/:/icons/icons/ui/person.svg?";
}
width: 16
height: 16
sourceSize.height: height * Screen.devicePixelRatio
sourceSize.width: width * Screen.devicePixelRatio
Layout.preferredWidth: 16
Layout.preferredHeight: 16
sourceSize.width: width
sourceSize.height: height
source: sourceUrl + (ma.hovered ? Nheko.colors.highlight : Nheko.colors.buttonText)
ToolTip.visible: ma.hovered
ToolTip.text: {
@ -206,6 +206,8 @@ ApplicationWindow {
EncryptionIndicator {
id: encryptInd
Layout.preferredWidth: 16
Layout.preferredHeight: 16
Layout.alignment: Qt.AlignRight
visible: room.isEncrypted
encrypted: room.isEncrypted