Update: Added states to virtual keyboard button, improved readability.

This commit is contained in:
Keyitdev
2024-10-08 01:07:51 +02:00
parent 1663dbd524
commit 8993670e73
4 changed files with 32 additions and 10 deletions
+6 -6
View File
@@ -120,11 +120,11 @@ Item {
when: selectSession.down
PropertyChanges {
target: displayedItem
color: Qt.darker(root.palette.highlight, 1.1)
color: Qt.darker(root.palette.toolTipBase, 1.1)
}
PropertyChanges {
target: selectSession.background
border.color: Qt.darker(root.palette.highlight, 1.1)
border.color: Qt.darker(root.palette.toolTipBase, 1.1)
}
},
State {
@@ -132,11 +132,11 @@ Item {
when: selectSession.hovered
PropertyChanges {
target: displayedItem
color: Qt.lighter(root.palette.highlight, 1.1)
color: Qt.lighter(root.palette.toolTipBase, 1.1)
}
PropertyChanges {
target: selectSession.background
border.color: Qt.lighter(root.palette.highlight, 1.1)
border.color: Qt.lighter(root.palette.toolTipBase, 1.1)
}
},
State {
@@ -144,11 +144,11 @@ Item {
when: selectSession.visualFocus
PropertyChanges {
target: displayedItem
color: root.palette.highlight
color: root.palette.toolTipBase
}
PropertyChanges {
target: selectSession.background
border.color: root.palette.highlight
border.color: root.palette.toolTipBase
}
}
]