diff --git a/src/gui/Base/HStackView.qml b/src/gui/Base/HStackView.qml index c4061fef..22465c25 100644 --- a/src/gui/Base/HStackView.qml +++ b/src/gui/Base/HStackView.qml @@ -4,4 +4,35 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 StackView { + pushEnter: Transition { + HNumberAnimation { + property: "scale" + from: 0 + to: 1 + } + } + + pushExit: Transition { + HNumberAnimation { + property: "opacity" + from: 1 + to: 0 + } + } + + popEnter: Transition { + HNumberAnimation { + property: "opacity" + from: 0 + to: 1 + } + } + + popExit: Transition { + HNumberAnimation { + property: "scale" + from: 1 + to: 0 + } + } }