Color animations: more uniform across NWidgets
This commit is contained in:
parent
102aca0fa0
commit
d1f5d301c2
7 changed files with 60 additions and 16 deletions
|
|
@ -25,12 +25,17 @@ RadioButton {
|
|||
|
||||
radius: width * 0.5
|
||||
color: Qt.alpha(Color.mPrimary, root.checked ? 1 : 0)
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on border.color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.InQuad
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue