From 384c9c91e356cf7889860c9886d275ff86900b93 Mon Sep 17 00:00:00 2001 From: Malte E Date: Mon, 7 Feb 2022 21:00:51 +0100 Subject: print state events without bubbles, displaynames or avatars and in a smaller font --- resources/qml/delegates/NoticeMessage.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/qml/delegates/NoticeMessage.qml') 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 } -- cgit 1.5.1