Skip to content
Snippets Groups Projects
Pill.qml 430 B
Newer Older
Nicolas Werner's avatar
Nicolas Werner committed
// SPDX-FileCopyrightText: 2021 Nheko Contributors
Nicolas Werner's avatar
Nicolas Werner committed
// SPDX-License-Identifier: GPL-3.0-or-later

import QtQuick.Controls 2.1
import im.nheko 1.0
    color: Nheko.colors.brightText
    horizontalAlignment: Text.AlignHCenter
    height: contentHeight * 1.2
    width: contentWidth * 1.2

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