From e96b552959afbc878247d1a5cca44ab991851ae8 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 12 Sep 2023 00:43:07 +0200 Subject: [PATCH] Fix power level indicator size --- resources/qml/MessageView.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 411254d8..eccd0496 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -689,6 +689,12 @@ Item { //anchors.horizontalCenter: parent.horizontalCenter powerlevel: userPowerlevel + height: fontMetrics.lineSpacing + width: fontMetrics.lineSpacing + + sourceSize.width: fontMetrics.lineSpacing + sourceSize.height: fontMetrics.lineSpacing + permissions: room ? room.permissions : null visible: isAdmin || isModerator }