diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-02-15 02:58:25 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-02-15 02:58:25 +0100 |
commit | 86796edae85097d69a2a20c925c351d2da1f3fa6 (patch) | |
tree | de03762b812633f51dac0826b79f98f886f0cfb1 /resources | |
parent | Merge pull request #1679 from enigma9o7/master (diff) | |
download | nheko-86796edae85097d69a2a20c925c351d2da1f3fa6.tar.xz |
Try to fix the blurry encryption indicator on high dpi
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/TopBar.qml | 3 |
1 files changed, 3 insertions, 0 deletions
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) |