support checked buttons
This commit is contained in:
parent
2e06bb3214
commit
9301163142
@ -148,7 +148,7 @@ QtQuickControlStyle.ButtonStyle {
|
|||||||
opacity: 0
|
opacity: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
state: control.pressed ? "pressed" : "normal"
|
state: control.pressed || control.checked ? "pressed" : "normal"
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State { name: "normal" },
|
State { name: "normal" },
|
||||||
|
Loading…
Reference in New Issue
Block a user