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)