Added fade animation for category tags

This commit is contained in:
Scharel Clemens 2018-12-06 16:01:43 +01:00
parent 585ba1855a
commit 32f3fe3479
2 changed files with 8 additions and 2 deletions

View file

@ -88,7 +88,10 @@ Dialog {
x: Theme.horizontalPageMargin
width: parent.width - 2*x
spacing: Theme.paddingMedium
visible: categoryField.focus
visible: opacity > 0.0
opacity: categoryField.focus ? 1.0 : 0.0
Behavior on opacity { FadeAnimator { } }
Repeater {
id: categoryRepeater
model: account.categories

View file

@ -163,7 +163,10 @@ Dialog {
x: Theme.horizontalPageMargin
width: parent.width - 2*x
spacing: Theme.paddingMedium
visible: categoryField.focus
visible: opacity > 0.0
opacity: categoryField.focus ? 1.0 : 0.0
Behavior on opacity { FadeAnimator { } }
Repeater {
id: categoryRepeater
model: account.categories