diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-07 21:00:51 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-07 21:00:51 +0100 |
commit | 384c9c91e356cf7889860c9886d275ff86900b93 (patch) | |
tree | 0b46abb93b8cfa704a84b8f9ea58921f4dda5b5b /resources/qml/delegates/NoticeMessage.qml | |
parent | clean up margin setting (diff) | |
download | nheko-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.qml | 3 |
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 } |