Add focus border for the theme radio button, used on the Appearance page
Otherwise it's impossible to tell which option you're on, if you're solely using a keyboard.
This commit is contained in:
@@ -30,6 +30,11 @@ QQC2.RadioButton {
|
||||
shadow.size: 10
|
||||
shadow.color: Qt.rgba(0, 0, 0, 0.3)
|
||||
|
||||
border {
|
||||
color: Qt.alpha(Kirigami.Theme.highlightColor, 0.5)
|
||||
width: root.activeFocus ? 3 : 0
|
||||
}
|
||||
|
||||
color: {
|
||||
if (root.checked) {
|
||||
return Kirigami.Theme.highlightColor;
|
||||
|
||||
Reference in New Issue
Block a user