Try to fix the blurry encryption indicator on high dpi

This commit is contained in:
Nicolas Werner 2024-02-15 02:58:25 +01:00
parent ffd3d671a7
commit 86796edae8
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -160,6 +160,7 @@ Pane {
} }
} }
AbstractButton { AbstractButton {
id: memberButton
Layout.column: 4 Layout.column: 4
Layout.preferredHeight: Nheko.avatarSize - Nheko.paddingMedium Layout.preferredHeight: Nheko.avatarSize - Nheko.paddingMedium
Layout.preferredWidth: Nheko.avatarSize - Nheko.paddingMedium Layout.preferredWidth: Nheko.avatarSize - Nheko.paddingMedium
@ -188,6 +189,8 @@ Pane {
unencryptedColor: palette.buttonText unencryptedColor: palette.buttonText
unencryptedHoverColor: palette.highlight unencryptedHoverColor: palette.highlight
unencryptedIcon: ":/icons/icons/ui/people.svg" unencryptedIcon: ":/icons/icons/ui/people.svg"
sourceSize.height: memberButton.height
sourceSize.width: memberButton.width
} }
onClicked: TimelineManager.openRoomMembers(room) onClicked: TimelineManager.openRoomMembers(room)