mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-27 13:38:49 +03:00
14 lines
450 B
QML
14 lines
450 B
QML
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
// SPDX-FileCopyrightText: 2022 Nheko Contributors
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
import QtQuick 2.5
|
|
import im.nheko
|
|
|
|
TextMessage {
|
|
property bool isStateEvent
|
|
|
|
color: timelineRoot.palette.placeholderText
|
|
font.italic: true
|
|
font.pointSize: isStateEvent ? 0.8 * Settings.fontSize : Settings.fontSize
|
|
horizontalAlignment: isStateEvent ? Text.AlignHCenter : undefined
|
|
}
|