From e8ac59bcbfcfadbceafcc24711402037df9989bc Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sat, 28 Oct 2023 07:00:45 -0500 Subject: [PATCH] a better textbackground --- src/qml/presenter/TextBackground.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/presenter/TextBackground.qml b/src/qml/presenter/TextBackground.qml index 4f562a7..4ced54f 100644 --- a/src/qml/presenter/TextBackground.qml +++ b/src/qml/presenter/TextBackground.qml @@ -11,10 +11,10 @@ Item { Rectangle { id: rect - color: Kirigami.Theme.backgroundColor + color: Qt.darker(Kirigami.Theme.backgroundColor, 1.2) anchors.fill: parent radius: 10 - border.width: 0.5 + border.width: control.activeFocus ? 0.5 : (errorCondition ? 0.5 : 0.0) border.color: control.activeFocus ? Kirigami.Theme.highlightColor : (errorCondition ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.disabledTextColor) }