button/checkbox: highlight on activeFocus
Not just tab-induced focus.
This commit is contained in:
parent
af17151c11
commit
7f89604789
|
@ -21,7 +21,7 @@ Rectangle {
|
||||||
|
|
||||||
button.enabled && button.pressed ? buttonTheme.pressedOverlay :
|
button.enabled && button.pressed ? buttonTheme.pressedOverlay :
|
||||||
|
|
||||||
(button.enabled && button.hovered) || button.visualFocus ?
|
(button.enabled && button.hovered) || button.activeFocus ?
|
||||||
buttonTheme.hoveredOverlay :
|
buttonTheme.hoveredOverlay :
|
||||||
|
|
||||||
"transparent"
|
"transparent"
|
||||||
|
|
|
@ -27,7 +27,7 @@ CheckBox {
|
||||||
box.enabled && box.pressed ?
|
box.enabled && box.pressed ?
|
||||||
theme.controls.checkBox.boxPressedBorder :
|
theme.controls.checkBox.boxPressedBorder :
|
||||||
|
|
||||||
(box.enabled && box.hovered) || box.visualFocus ?
|
(box.enabled && box.hovered) || box.activeFocus ?
|
||||||
theme.controls.checkBox.boxHoveredBorder :
|
theme.controls.checkBox.boxHoveredBorder :
|
||||||
|
|
||||||
theme.controls.checkBox.boxBorder
|
theme.controls.checkBox.boxBorder
|
||||||
|
|
Loading…
Reference in New Issue
Block a user