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) }