matrixion/resources/qml/delegates/NoticeMessage.qml

15 lines
374 B
QML
Raw Permalink Normal View History

2021-03-05 02:35:15 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
// SPDX-FileCopyrightText: 2022 Nheko Contributors
//
2021-03-05 02:35:15 +03:00
// SPDX-License-Identifier: GPL-3.0-or-later
2021-05-13 09:23:56 +03:00
import im.nheko 1.0
2020-02-09 03:24:24 +03:00
TextMessage {
property bool isStateEvent
2020-10-08 22:11:21 +03:00
font.italic: true
2021-05-13 09:23:56 +03:00
color: Nheko.colors.buttonText
font.pointSize: isStateEvent? 0.75*fontMetrics.font.pointSize : 1*fontMetrics.font.pointSize
2019-09-07 02:33:46 +03:00
}