summary refs log tree commit diff
path: root/resources/qml/delegates/Pill.qml
blob: a3fa0d9e0005e7f9f93a79eb41a601b10e2e5462 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-FileCopyrightText: 2021 Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later

import QtQuick 2.5
import QtQuick.Controls 2.1

Label {
    color: colors.brightText
    horizontalAlignment: Text.AlignHCenter
    height: contentHeight * 1.2
    width: contentWidth * 1.2

    background: Rectangle {
        radius: parent.height / 2
        color: colors.alternateBase
    }

}