1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Add little fade in animation

This commit is contained in:
Elias 2018-12-17 21:08:56 +01:00
parent 620a34baf3
commit 8b727d6c1b

View File

@ -113,6 +113,7 @@ Item {
footer: Item { footer: Item {
property bool isVisible: true property bool isVisible: true
height: 100 height: 100
opacity: 0
visible: isVisible visible: isVisible
width: parent.width width: parent.width
@ -121,6 +122,23 @@ Item {
text: qsTr("Get more Wallpaper & Widgets via the Steam workshop!") text: qsTr("Get more Wallpaper & Widgets via the Steam workshop!")
anchors.centerIn: parent anchors.centerIn: parent
color: "gray" color: "gray"
Timer {
interval: 400
running: true
onTriggered: {
animFadeInTxtFooter.start()
}
}
PropertyAnimation on opacity {
id:animFadeInTxtFooter
from:0
to:1
running: false
duration: 1000
}
} }
} }
property bool isDragging: false property bool isDragging: false