diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2020-05-07 20:53:24 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2020-05-07 20:53:24 -0400 |
commit | a1661f7006d7661bfd54cdd9971afd6717ed9c92 (patch) | |
tree | 8d8a221740487d0411795a17918715e15e89cf99 /resources/qml/delegates | |
parent | Merge pull request #192 from Nheko-Reborn/reactions (diff) | |
download | nheko-a1661f7006d7661bfd54cdd9971afd6717ed9c92.tar.xz |
merge master into reactions
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/Pill.qml | 5 |
1 files changed, 4 insertions, 1 deletions
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) } } |