From 86796edae85097d69a2a20c925c351d2da1f3fa6 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 15 Feb 2024 02:58:25 +0100 Subject: [PATCH] Try to fix the blurry encryption indicator on high dpi --- resources/qml/TopBar.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml index 20af8ada..a2bfe414 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml @@ -160,6 +160,7 @@ Pane { } } AbstractButton { + id: memberButton Layout.column: 4 Layout.preferredHeight: Nheko.avatarSize - Nheko.paddingMedium Layout.preferredWidth: Nheko.avatarSize - Nheko.paddingMedium @@ -188,6 +189,8 @@ Pane { unencryptedColor: palette.buttonText unencryptedHoverColor: palette.highlight unencryptedIcon: ":/icons/icons/ui/people.svg" + sourceSize.height: memberButton.height + sourceSize.width: memberButton.width } onClicked: TimelineManager.openRoomMembers(room)