Skip to content
Snippets Groups Projects
Pill.qml 289 B
Newer Older
import QtQuick 2.5
import QtQuick.Controls 2.1
    color: colors.brightText
    horizontalAlignment: Text.AlignHCenter
    height: contentHeight * 1.2
    width: contentWidth * 1.2

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