matrixion/resources/qml/delegates/Pill.qml

16 lines
270 B
QML
Raw Normal View History

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