2021-03-05 02:35:15 +03:00
|
|
|
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
2022-01-01 06:57:53 +03:00
|
|
|
// SPDX-FileCopyrightText: 2022 Nheko Contributors
|
2021-03-07 07:57:56 +03:00
|
|
|
//
|
2021-03-05 02:35:15 +03:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2022-02-21 03:39:32 +03:00
|
|
|
import QtQuick 2.5
|
2022-04-15 03:58:44 +03:00
|
|
|
import im.nheko
|
2021-05-13 09:23:56 +03:00
|
|
|
|
2022-02-07 23:00:51 +03:00
|
|
|
|
2020-02-09 03:24:24 +03:00
|
|
|
TextMessage {
|
2022-02-07 23:00:51 +03:00
|
|
|
property bool isStateEvent
|
2020-10-08 22:11:21 +03:00
|
|
|
font.italic: true
|
2022-04-11 05:18:16 +03:00
|
|
|
color: timelineRoot.palette.buttonText
|
2022-02-21 03:39:32 +03:00
|
|
|
font.pointSize: isStateEvent? 0.8*Settings.fontSize : Settings.fontSize
|
|
|
|
horizontalAlignment: isStateEvent? Text.AlignHCenter : undefined
|
2019-09-07 02:33:46 +03:00
|
|
|
}
|