a better textbackground
This commit is contained in:
parent
e999f3e22b
commit
e8ac59bcbf
1 changed files with 2 additions and 2 deletions
|
@ -11,10 +11,10 @@ Item {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: rect
|
id: rect
|
||||||
color: Kirigami.Theme.backgroundColor
|
color: Qt.darker(Kirigami.Theme.backgroundColor, 1.2)
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: 10
|
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)
|
border.color: control.activeFocus ? Kirigami.Theme.highlightColor : (errorCondition ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.disabledTextColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue