mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 12:08:50 +03:00
20 lines
437 B
QML
20 lines
437 B
QML
// SPDX-FileCopyrightText: Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick 2.5
|
|
import QtQuick.Controls 2.1
|
|
|
|
Label {
|
|
property bool isStateEvent
|
|
color: palette.text
|
|
horizontalAlignment: Text.AlignHCenter
|
|
height: Math.round(fontMetrics.height * 1.4)
|
|
width: contentWidth * 1.2
|
|
|
|
background: Rectangle {
|
|
radius: parent.height / 2
|
|
color: palette.alternateBase
|
|
}
|
|
|
|
}
|