From a1661f7006d7661bfd54cdd9971afd6717ed9c92 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Thu, 7 May 2020 20:53:24 -0400 Subject: merge master into reactions --- resources/qml/delegates/Pill.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'resources/qml/delegates') diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml index c4260c33..23a69b10 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml @@ -2,6 +2,9 @@ import QtQuick 2.5 import QtQuick.Controls 2.1 Label { + id: pillComponent + property color userColor: "red" + color: colors.brightText horizontalAlignment: Text.AlignHCenter @@ -10,6 +13,6 @@ Label { background: Rectangle { radius: parent.height / 2 - color: colors.dark + color: Qt.rgba(userColor.r, userColor.g, userColor.b, 0.2) } } -- cgit 1.5.1