mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
96f791daf1
See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
21 lines
467 B
QML
21 lines
467 B
QML
// SPDX-FileCopyrightText: Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick 2.5
|
|
import QtQuick.Controls 2.1
|
|
import im.nheko 1.0
|
|
|
|
Label {
|
|
property bool isStateEvent
|
|
color: Nheko.colors.text
|
|
horizontalAlignment: Text.AlignHCenter
|
|
height: Math.round(fontMetrics.height * 1.4)
|
|
width: contentWidth * 1.2
|
|
|
|
background: Rectangle {
|
|
radius: parent.height / 2
|
|
color: Nheko.colors.alternateBase
|
|
}
|
|
|
|
}
|