summary refs log tree commit diff
path: root/resources/qml/delegates/NoticeMessage.qml
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-07 21:00:51 +0100
committerMalte E <malte.e@mailbox.org>2022-02-07 21:00:51 +0100
commit384c9c91e356cf7889860c9886d275ff86900b93 (patch)
tree0b46abb93b8cfa704a84b8f9ea58921f4dda5b5b /resources/qml/delegates/NoticeMessage.qml
parentclean up margin setting (diff)
downloadnheko-384c9c91e356cf7889860c9886d275ff86900b93.tar.xz
print state events without bubbles, displaynames or avatars and in a smaller font
Diffstat (limited to 'resources/qml/delegates/NoticeMessage.qml')
-rw-r--r--resources/qml/delegates/NoticeMessage.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/qml/delegates/NoticeMessage.qml b/resources/qml/delegates/NoticeMessage.qml
index fa4bbb35..544af109 100644
--- a/resources/qml/delegates/NoticeMessage.qml
+++ b/resources/qml/delegates/NoticeMessage.qml
@@ -5,7 +5,10 @@
 
 import im.nheko 1.0
 
+
 TextMessage {
+    property bool isStateEvent
     font.italic: true
     color: Nheko.colors.buttonText
+    font.pointSize: isStateEvent? 0.75*fontMetrics.font.pointSize : 1*fontMetrics.font.pointSize
 }