Added some UI fixes

This commit is contained in:
Yury Shuvakin
2022-08-29 02:57:42 +03:00
parent 86b73ca662
commit 1fc06361f8
8 changed files with 164 additions and 153 deletions

View File

@@ -4,9 +4,11 @@ import Utils 1.0
Rectangle {
property bool enabled: false
property bool neutral: true
implicitWidth: 18
implicitHeight: 18
radius: implicitWidth / 2
color: enabled ? Palette.alternativeBackgroundColor : Palette.borderColor
color: enabled ? Palette.goodColor :
(neutral ? Palette.borderColor : Palette.invalidColor)
}