summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r--resources/qml/MessageView.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index a0ff0ff1..894e58b4 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -570,9 +570,11 @@ Item {
 
                         PowerlevelIndicator {
                             id: powerlevelIndicator
-                            anchors.left: parent.left
-                            //anchors.horizontalCenter: parent.horizontalCenter
 
+                            anchors.left: parent.left
+                            anchors.verticalCenter: parent.verticalCenter
+                            height: fontMetrics.ascent
+                            width: height
                             powerlevel: userPowerlevel
                             permissions: room ? room.permissions : null
                             visible: isAdmin || isModerator