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.
(cherry picked from commit a523fe7674)
This commit is contained in:
@@ -30,6 +30,11 @@ QQC2.RadioButton {
|
|||||||
shadow.size: 10
|
shadow.size: 10
|
||||||
shadow.color: Qt.rgba(0, 0, 0, 0.3)
|
shadow.color: Qt.rgba(0, 0, 0, 0.3)
|
||||||
|
|
||||||
|
border {
|
||||||
|
color: Qt.alpha(Kirigami.Theme.highlightColor, 0.5)
|
||||||
|
width: root.activeFocus ? 3 : 0
|
||||||
|
}
|
||||||
|
|
||||||
color: {
|
color: {
|
||||||
if (root.checked) {
|
if (root.checked) {
|
||||||
return Kirigami.Theme.highlightColor;
|
return Kirigami.Theme.highlightColor;
|
||||||
|
|||||||
Reference in New Issue
Block a user