summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-09-12 00:43:07 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-09-12 00:43:07 +0200
commite96b552959afbc878247d1a5cca44ab991851ae8 (patch)
treeefcbbc0727f100f4ce28c1ab065c46dbff68052c /resources/qml/MessageView.qml
parentFix timeline menus (diff)
downloadnheko-e96b552959afbc878247d1a5cca44ab991851ae8.tar.xz
Fix power level indicator size
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r--resources/qml/MessageView.qml6
1 files changed, 6 insertions, 0 deletions
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
                         }