nheko/resources/qml/delegates/Pill.qml

16 lines
270 B
QML
Raw Normal View History

2019-09-09 21:42:33 +02:00
import QtQuick 2.5
import QtQuick.Controls 2.1
2019-09-09 21:42:33 +02:00
Label {
color: colors.brightText
2019-09-09 21:42:33 +02:00
horizontalAlignment: Text.AlignHCenter
2020-04-29 11:14:43 +02:00
height: fontMetrics.height * 1.4
width: contentWidth * 1.2
2020-04-28 09:38:13 +02:00
2019-09-09 21:42:33 +02:00
background: Rectangle {
radius: parent.height / 2
color: colors.dark
2019-09-09 21:42:33 +02:00
}
}