Added fade animation for category tags
This commit is contained in:
parent
585ba1855a
commit
32f3fe3479
2 changed files with 8 additions and 2 deletions
|
@ -88,7 +88,10 @@ Dialog {
|
||||||
x: Theme.horizontalPageMargin
|
x: Theme.horizontalPageMargin
|
||||||
width: parent.width - 2*x
|
width: parent.width - 2*x
|
||||||
spacing: Theme.paddingMedium
|
spacing: Theme.paddingMedium
|
||||||
visible: categoryField.focus
|
visible: opacity > 0.0
|
||||||
|
opacity: categoryField.focus ? 1.0 : 0.0
|
||||||
|
Behavior on opacity { FadeAnimator { } }
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: categoryRepeater
|
id: categoryRepeater
|
||||||
model: account.categories
|
model: account.categories
|
||||||
|
|
|
@ -163,7 +163,10 @@ Dialog {
|
||||||
x: Theme.horizontalPageMargin
|
x: Theme.horizontalPageMargin
|
||||||
width: parent.width - 2*x
|
width: parent.width - 2*x
|
||||||
spacing: Theme.paddingMedium
|
spacing: Theme.paddingMedium
|
||||||
visible: categoryField.focus
|
visible: opacity > 0.0
|
||||||
|
opacity: categoryField.focus ? 1.0 : 0.0
|
||||||
|
Behavior on opacity { FadeAnimator { } }
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: categoryRepeater
|
id: categoryRepeater
|
||||||
model: account.categories
|
model: account.categories
|
||||||
|
|
Loading…
Reference in a new issue